0

error about servletcontext

asked 2009-02-19 04:54:38 +0800

sandeepkharat1 gravatar image sandeepkharat1
36 2

hi, i am running zkdemo. but with all it's necessary source project. i.e. zcommon,zweb,...etc.while running zkdemo on tomcat server i got this exception " javax.servlet.ServletException: Only one layout servlet is allowed in one context: org.apache.catalina.core.ApplicationContextFacade@1e6e305
org.zkoss.zk.ui.http.DHtmlLayoutServlet.init(DHtmlLayoutServlet.java:118)".
pls help me.

delete flag offensive retag edit

1 Reply

Sort by ยป oldest newest

answered 2009-02-19 10:07:39 +0800

iantsai gravatar image iantsai
2755 1

Please clear all your Jars inside both share lib in Tomcat and WEB-INF/lib in project, then copy a new set of Jars from ZK downloaded package again.
Your problem is ClassLoader loaded different version of ZK Jars in class hierarchy.

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: 2009-02-19 04:54:38 +0800

Seen: 217 times

Last updated: Feb 19 '09

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