0

Servlet.init() for servlet zkLoaderthrew exc

asked 2007-03-07 20:39:47 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4195749

By: bixy

Hi. Still trying to follow ZK's directions, but, no luck: Advice is appreciated:

http://localhost:8080/zkdemo/userguide causes exception:

Exception:
javax.servlet.ServletException: Servlet.init() for servlet zkLoader threw exception
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:96
3)
at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:668
...
then
Root cause:
java.lang.NoClassDefFoundError: javax/servlet/jsp/el/VariableResolver
at org.zkoss.zk.ui.http.DHtmlLayoutServlet.init(DHtmlLayoutServlet.java:72)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:93

delete flag offensive retag edit

3 Replies

Sort by ยป oldest newest

answered 2007-03-08 09:18:15 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4196729

By: henrichen

Did you run on Tomcat 4.1? It is better upgrade to Tomcat 5.5+. If you must run on 4.1, please see ZK How-Tos.

/henri

link publish delete flag offensive edit

answered 2007-03-10 00:20:23 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4200570

By: bixy

Hi, Henri:
Thanks. I did an install and test w/ Tomcat 5.5, but still no luck. Not even sure what next to ask. Tho a big imposition, I cd, and no doubt so cd others, profit from a directory structure (showing which .jars/folders where), any specific .xml files needed (content and location), etc., as confirmation and troubleshooting that the proper files are in the right places. Many thanks in advance.

link publish delete flag offensive edit

answered 2007-03-10 01:27:49 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4200630

By: henrichen

It looks a good idea. Can you post that suggestion to Feature Request. I will see if we can put that directoy structure in the Developer's Guide.

As for your question. I will suggest that you do a clean installation and deploy zkdemo-all.war directly. The war contains all necessary ZK library and should work immediately. Then visit

http://localhost:8080/zkdemo-all/userguide

or

http://localhost/zkdemo-all/userguide

depends on which port you install your Tomcat.

/henri

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2007-03-07 20:39:47 +0800

Seen: 772 times

Last updated: Mar 10 '07

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More