Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Simultaneous release » Not find spring jar sometime(Spring jar not find by eclipse when i run java web project in tomcat by eclipse IDE)
icon8.gif  Not find spring jar sometime [message #675237] Mon, 30 May 2011 21:01
manoj  is currently offline manoj Friend
Messages: 1
Registered: May 2011
Junior Member
Hi,

I am very disappointed when i run my j2ee web project. I set up tomcat as a server and created a java web project and try to run it. Sometime it run smooth but sometime it is not able to pick simple spring jar file. When i create a war file of this project by Maven and place this jar in tomcate/webapps folder than its run fine. But when i try to run it by tomcat plugin in eclipse galileo i got below exception..

SEVERE: Error configuring application listener of class org.springframework.web.context.ContextLoaderListener
java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1360)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1206)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3786)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4350)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start(StandardService.java:516)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)


Could you please suggest me what should i do for run it in eclipse...
Previous Topic:WebService Client (The service definition selected is invalid)
Next Topic:Ubuntu Natty: 32 bit JDK in Eclipse Galileo
Goto Forum:
  


Current Time: Sat Dec 20 09:53:08 GMT 2014

Powered by FUDForum. Page generated in 0.01609 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software