ClassNotFoundException of HttpSessionListener
20 Jul 2011 15:22:18 GMT
7 Nov 2011 17:46:57 GMT
7 Nov 2011 17:46:57 GMT
I have exactly the same error with Netbeans/Tomcat.
I have Spring (mvc 2.5), logback and Zk (5.0.9 EE package).
I have errors with Spring ContextLoaderListener, then same error (Kogelet) with HttpSessionListener.
Any idea ?
Is there a pb to use Zk with spring ?
14 Nov 2011 11:01:12 GMT
14 Nov 2011 11:01:12 GMT
Hi mkommer & Kogelet,
It often caused by the duplicate jar files,
please refer to the related thread.
ZK - Open Source Ajax Java Framework
I am trying to create the project manually. All jar files are added to the class path but I am getting the error. Is this a bug of Eclipse?
Jul 20, 2011 10:18:31 PM org.apache.catalina.core.StandardContext listenerStart
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:1678)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1523)
at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:415)
at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:397)
at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:118)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4660)
at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5226)
at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5221)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jre6">
<attributes>
<attribute name="owner.project.facets" value="java"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jst.server.core.container/org.eclipse.jst.server.tomcat.runtimeTarget/Apache Tomcat v7.0">
<attributes>
<attribute name="owner.project.facets" value="jst.web"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.web.container"/>
<classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.module.container"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/breeze.jar"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/bsh.jar"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/commons-fileupload.jar"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/commons-io.jar"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/fckez.jar"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/groovy.jar"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/jruby.jar"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/js.jar"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/jython.jar"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/sapphire.jar"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/silvertail.jar"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/zcommon.jar"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/zcommons-el.jar"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/zhtml.jar"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/zk.jar"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/zkplus.jar"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/zul.jar"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/zweb.jar"/>
<classpathentry kind="output" path="build/classes"/>
</classpath>