- This topic has 3 replies, 3 voices, and was last updated 15 years, 2 months ago by support-joy.
-
AuthorPosts
-
Marek PribylMemberhello,
suddenly I’m facing an exception when deploying webapp to the integrated tomcat in MyEclipse. recently deploying was working perfectly (same webapp), and I really have no idea what I did wrong… My current installation: Eclipse 3.4.2 classic, MyEclipse 7.1.1
I’ve installed paralelly MyEclipse 7.5 for testing (use different workspace)thanks in advance for any help
java.lang.NoClassDefFoundError: HttpSessionListener
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1817)
at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:872)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1325)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3770)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4334)
at org.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:1105)
at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1203)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:293)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1337)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1601)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1590)
at java.lang.Thread.run(Thread.java:619)
Loyal WaterMembermarekpribyl,
You should setup MyEclipse 7.5 with Eclipse 3.4.2 and test this. Im not sure how it worked earlier because MyEclipse 7.1 is compatible with Eclipse 3.4.1 and not Eclipse 3.4.2.
Marek PribylMemberpresumably some project settings changed automagically after importing project from one workspace to another. I set back proper build paths and also replaced in .classpath:
<classpathentry kind=”con” path=”org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5″/>
with
<classpathentry kind=”con” path=”org.eclipse.jdt.launching.JRE_CONTAINER”/>I also uninstalled 7.5, and I’m back on 7.1 with eclipse 3.4.2 now which works for me.
So problem solved, but I really don’t know which changes helped me;-)
support-joyMemberGood to hear you are all set.
-
AuthorPosts