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

SpringSource Issue Tracker | Dave Taubler | 4 years ago
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  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 | 5 years ago | alextc
    java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener
  3. 0

    krams::: Spring MVC 3, Hibernate Annotations, MySQL Integration Tutorial | 9 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 | 2 years 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( at org.apache.catalina.loader.WebappClassLoader.loadClass( at org.apache.catalina.core.StandardContext.listenerStart( at org.apache.catalina.core.StandardContext.start( at org.apache.catalina.core.ContainerBase.start( at org.apache.catalina.core.StandardHost.start( at org.apache.catalina.core.ContainerBase.start( at org.apache.catalina.core.StandardEngine.start( at org.apache.catalina.core.StandardService.start( at org.apache.catalina.core.StandardServer.start( at org.apache.catalina.startup.Catalina.start( at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke( at sun.reflect.DelegatingMethodAccessorImpl.invoke( at java.lang.reflect.Method.invoke( at org.apache.catalina.startup.Bootstrap.start( at org.apache.catalina.startup.Bootstrap.main(

    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


      at org.apache.catalina.loader.WebappClassLoader.loadClass()
    2. Glassfish Core
      1. org.apache.catalina.loader.WebappClassLoader.loadClass(
      2. org.apache.catalina.loader.WebappClassLoader.loadClass(
      3. org.apache.catalina.core.StandardContext.listenerStart(
      4. org.apache.catalina.core.StandardContext.start(
      5. org.apache.catalina.core.ContainerBase.start(
      6. org.apache.catalina.core.StandardHost.start(
      7. org.apache.catalina.core.ContainerBase.start(
      8. org.apache.catalina.core.StandardEngine.start(
      9. org.apache.catalina.core.StandardService.start(
      10. org.apache.catalina.core.StandardServer.start(
      11. org.apache.catalina.startup.Catalina.start(
      11 frames
    3. Java RT
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(
      4. java.lang.reflect.Method.invoke(
      4 frames
    4. Glassfish Core
      1. org.apache.catalina.startup.Bootstrap.start(
      2. org.apache.catalina.startup.Bootstrap.main(
      2 frames