Announcement Announcement Module
Collapse
No announcement yet.
Spring error with embedded Tomcat 5.0.27 in Eclipse 3.0 Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring error with embedded Tomcat 5.0.27 in Eclipse 3.0

    Hi,

    I was trying to run my Spring 1.1.3/Struts application within Tomcat 5.0.27 embedded in Eclipse 3.0. and got the the HTTP 404 error.

    Tomcat log file says it can't find the class org.springframework.web.context.ContextLoaderListe ner as below.

    Of course the spring jars are included in the Eclipse project library.

    Do I need to add spring library into Tomcat, or install the Spring IDE for Eclipse in order to make it work?

    Thanks in advance!



    Error configuring application listener of class org.springframework.web.context.ContextLoaderListe ner
    java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListe ner
    at org.apache.catalina.loader.WebappClassLoader.loadC lass(WebappClassLoader.java:1340)
    at org.apache.catalina.loader.WebappClassLoader.loadC lass(WebappClassLoader.java:1189)
    at org.apache.catalina.core.StandardContext.listenerS tart(StandardContext.java:3775)
    at org.apache.catalina.core.StandardContext.start(Sta ndardContext.java:4343)
    at org.apache.catalina.core.ContainerBase.start(Conta inerBase.java:1083)
    at org.apache.catalina.core.StandardHost.start(Standa rdHost.java:789)
    at org.apache.catalina.core.ContainerBase.start(Conta inerBase.java:1083)
    at org.apache.catalina.core.StandardEngine.start(Stan dardEngine.java:478)
    at org.apache.catalina.core.StandardService.start(Sta ndardService.java:480)
    at org.apache.catalina.core.StandardServer.start(Stan dardServer.java:2313)
    at org.apache.catalina.startup.Catalina.start(Catalin a.java:556)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.apache.catalina.startup.Bootstrap.start(Bootst rap.java:284)
    at org.apache.catalina.startup.Bootstrap.main(Bootstr ap.java:422)
Working...
X