Announcement Announcement Module
Collapse
No announcement yet.
ClassNotFoundException: org.springframework.web.context.ContextLoaderListe ner Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • ClassNotFoundException: org.springframework.web.context.ContextLoaderListe ner

    Hi, I'm a newbe to Spring and I'm trying to create my new Spring MVC project from STS but I'm always getting the below error when running the project. Googled help hasn't helped me much. I've just installed STS with GTW SDK plugin. I created a new spring mvc project. I tried to adding springframework libraries from plugin folder including

    C:\Program Files\springsource\sts-2.8.0.RELEASE\plugins\org.springframework.web_3.1. 0.RC1.jar

    but with no success. Below is the common error coming out. Please help me out.

    thanks


    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:1678)
    at org.apache.catalina.loader.WebappClassLoader.loadC lass(WebappClassLoader.java:1523)
    at org.apache.catalina.core.DefaultInstanceManager.lo adClass(DefaultInstanceManager.java:415)
    at org.apache.catalina.core.DefaultInstanceManager.lo adClassMaybePrivileged(DefaultInstanceManager.java :397)
    at org.apache.catalina.core.DefaultInstanceManager.ne wInstance(DefaultInstanceManager.java:118)
    at org.apache.catalina.core.StandardContext.listenerS tart(StandardContext.java:4660)
    at org.apache.catalina.core.StandardContext$1.call(St andardContext.java:5226)
    at org.apache.catalina.core.StandardContext$1.call(St andardContext.java:5221)
    at java.util.concurrent.FutureTask$Sync.innerRun(Futu reTask.java:303)
    at java.util.concurrent.FutureTask.run(FutureTask.jav a:138)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run Task(ThreadPoolExecutor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:619)

  • #2
    also getting problems in POM

    ArtifactDescriptorException: Failed to read artifact descriptor for org.springframework:spring-webmvc:jar:3.0.6.RELEASE: ArtifactResolutionException: Failure to transfer org.springframework:spring-webmvcom:3.0.6.RELEASE from http://repo1.maven.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.springframework:spring-webmvcom:3.0.6.RELEASE from/to central (http://repo1.maven.org/maven2): Connect times out

    Comment

    Working...
    X