0

java.lang.ClassNotFoundException: org.zkoss.zk.ui.http.HttpSessionListener

asked 2015-04-07 07:38:55 +0800

Aasifi gravatar image Aasifi
15 3

Hello,

I am using zk calender in my application and I have updated all zk libs from version 5.0 to 7.0.3.I am using Eclipse IDE and Tomcat for development.I have cleared all work folders & files from Tomcat before building the application but I am facing following exception at some listeners while starting my tomcat server.

SEVERE: Error configuring application listener of class org.zkoss.zk.ui.http.HttpSessionListener java.lang.ClassNotFoundException: org.zkoss.zk.ui.http.HttpSessionListener at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1701) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1546) at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:525) at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:507) at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:124) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4715) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5273) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:649) at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1581) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source)

I guess there are some classes which are missing.Could somebody please help me out as it is blocking my application to start.

Thanks in advance.

delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2015-04-07 07:53:39 +0800

echarish gravatar image echarish flag of Japan
1809 7
http://jp.linkedin.com/in...

Hello Aasifi

Most probably this error is because of duplicate jar or conflict of version in some ZK jar's, please once remove all jar and add all the jar's of same version of ZK.

Harish.

link publish delete flag offensive edit
Your answer
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
1 follower

RSS

Stats

Asked: 2015-04-07 07:38:55 +0800

Seen: 261 times

Last updated: Apr 07 '15

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