-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4190517
By: bixy
Dear all:
Using ZK quickstart guide (ZK-quickstart.pdf, pg. 7), downloaded & installed successfully Tomcat 5.5.20. Followed installation directions [copied all libraries dist/lib/*.jar to $TOMCAT_HOME/shared lib and dist/lib/ext/*.jar to $TOMCAT_HOME/shared/lib]. Then demo/bin/zkdemo.war to $TOMCAT_HOME/webapps.
First time, got a Servlet.init() error, when using Tomcat 4.1
Second time: fresh install of Tomcat 5.5.20 and ZK 2.3.0-RC, but http://localhost:8080/zkdemo/userguide returns "The requested resource
(/zkdemo/userguide) is not available. The same for zkdemo-all
--
BTW, put the entire directories (dist/lib/ into TOMCAT/shared/lib; same for
dist/lib/ext) and no success; tried even putting all the .jar in those locations.
Still no luck. Should change the appropriate server.xml to include <servlet> reference?
--
Checked the help forum and experimented on this machine, but w/o success. Any guidance is welcome. Thanks for your patience and help! | Merci. -Bix
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4196367
By: henrichen
ZK needs EL support. When use Tomcat 4.1(which does not support EL), you have to do something more. Please see
http://en.wikibooks.org/wiki/ZK/How-Tos#Tomcat
/henri
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4200677
By: bixy
Hi, Henri: Thanks for your time and the link; all 6s and 9s now!
I am using Apache Tomcat 5.5.20, followed directions (I tried, at least) to deploy correctly, setting CLASSPATH, etc. but continue to get this error
message:
org.zkoss.zk.ui.UiException: java.lang.ClassNotFoundException:
org.zkoss.zkdemo.userguide.MainWindow
[Have found other people asking the same question on the net but no one has replied. If you cd, we'd all be very grateful!] Thanks again. -Bix
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4200726
By: henrichen
Can you check in the Tomcat's deployment directory whether the MainWindow.class exists?
$TOMCAT/webapps/zkdemo-all/WEB-INF/class/org/zkoss/zkdemo/userguide/MainWindow.c
lass
If it is there, check the accessibility (read/write/execute permission). The file must be accessible by the "user" that run the Tomcat.
/henri
Asked: 2007-03-04 17:02:11 +0800
Seen: 565 times
Last updated: Mar 10 '07