java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener

SpringSource Issue Tracker | Dave Taubler | 4 years ago
  1. 0

    ContextLoad error in spring

    Stack Overflow | 5 years ago | Ravi Mishra
    java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener
  2. 0

    Cannot get Spring 2.5 work with Tomcat 5

    Stack Overflow | 4 years ago | alextc
    java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener
  3. 0

    krams::: Spring MVC 3, Hibernate Annotations, MySQL Integration Tutorial

    blogspot.com | 4 months ago
    java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [STS-3227] Creating a new SpringMVC project results in project with errors - SpringSource Issue Tracker

    springsource.com | 1 year ago
    java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener
  6. 0

    I've been trying to use STS 3.1.0 to create a new SpringMVC project. I have been doing this in the Spring perspective, by either control-clicking in the package explorer and selecting "New", or selecting "File" -> "New", then selecting "Spring Template Project", then the Spring MVC Project template. After giving the project a name and a top-level package, STS goes about creating the project. However, the resulting project reports two errors: Unable to load schema mappings from location [META-INF/spring.schemas] for both root-context.xml and servlet-context.xml I sometimes then try to Run As -> Run On Server, but the app won't launch due to a ClassNotFoundException, whose stacktrace is pasted below. Interestingly, I can also take another SpringMVC app created elsewhere, which reports no errors, and import it into my STS 3.1.0 installation, and the same errors occur. Note that I've deleted and reinstalled (and re-downloaded) STS multiple times. java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1680) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4149) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4705) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057) at org.apache.catalina.core.StandardHost.start(StandardHost.java:840) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463) at org.apache.catalina.core.StandardService.start(StandardService.java:525) at org.apache.catalina.core.StandardServer.start(StandardServer.java:754) at org.apache.catalina.startup.Catalina.start(Catalina.java:595) 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:289) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)

    SpringSource Issue Tracker | 4 years ago | Dave Taubler
    java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener

    11 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ClassNotFoundException

      org.springframework.web.context.ContextLoaderListener

      at org.apache.catalina.loader.WebappClassLoader.loadClass()
    2. Glassfish Core
      Catalina.start
      1. org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1680)
      2. org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526)
      3. org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4149)
      4. org.apache.catalina.core.StandardContext.start(StandardContext.java:4705)
      5. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
      6. org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
      7. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
      8. org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
      9. org.apache.catalina.core.StandardService.start(StandardService.java:525)
      10. org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
      11. org.apache.catalina.startup.Catalina.start(Catalina.java:595)
      11 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    4. Glassfish Core
      Bootstrap.main
      1. org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
      2. org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
      2 frames