Announcement Announcement Module
Collapse
No announcement yet.
Learning Spring MVC on STS Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Learning Spring MVC on STS

    Hi Guys,

    I am new to Spring and I am trying to get a basic Spring MVC application running on STS 2.8. I create the application using the Spring template and deploy it on Apache Tomcat 7. But upon start up I am getting the following error:

    Apr 06, 2012 1:17:33 PM org.apache.catalina.core.StandardContext listenerStart
    SEVERE: Error configuring application listener of class org.springframework.web.context.ContextLoaderListe ner
    java.lang.NoClassDefFoundError: org/springframework/context/ConfigurableApplicationContext
    at java.lang.Class.getDeclaredConstructors0(Native Method)
    at java.lang.Class.privateGetDeclaredConstructors(Cla ss.java:2404)
    at java.lang.Class.getConstructor0(Class.java:2714)
    at java.lang.Class.newInstance0(Class.java:343)
    at java.lang.Class.newInstance(Class.java:325)
    at org.apache.catalina.core.DefaultInstanceManager.ne wInstance(DefaultInstanceManager.java:119)
    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:334)
    at java.util.concurrent.FutureTask.run(FutureTask.jav a:166)
    at java.util.concurrent.ThreadPoolExecutor.runWorker( ThreadPoolExecutor.java:1110)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:603)
    at java.lang.Thread.run(Thread.java:722)
    Caused by: java.lang.ClassNotFoundException: org.springframework.context.ConfigurableApplicatio nContext
    at org.apache.catalina.loader.WebappClassLoader.loadC lass(WebappClassLoader.java:1678)
    at org.apache.catalina.loader.WebappClassLoader.loadC lass(WebappClassLoader.java:1523)
    ... 14 more

    Can you please assist.
Working...
X