Meaningless Drivel is fun!*
The moose likes Spring and the fly likes Error configuring application listener of class org.springframework.web.context.ContextLoader Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Error configuring application listener of class org.springframework.web.context.ContextLoader" Watch "Error configuring application listener of class org.springframework.web.context.ContextLoader" New topic
Author

Error configuring application listener of class org.springframework.web.context.ContextLoader

manis seba
Greenhorn

Joined: Oct 16, 2012
Posts: 1
SEVERE: Error configuring application listener of class org.springframework.web.context.ContextLoaderListener
java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1678)


web.xml
<context-param>
<param-name>resteasy.scan</param-name>
<param-value>true</param-value>
</context-param>

<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>/WEB-INF/applicationContext.xml</param-value>
</context-param>

<listener>
<listener-class>
org.jboss.resteasy.plugins.server.servlet.ResteasyBootstrap</listener-class>
</listener>



[Thumbnail for web-inf.jpg]

[Thumbnail for web-inf.jpg]

Bill Gorder
Bartender

Joined: Mar 07, 2010
Posts: 1646
    
    7

You need spring-web

http://mvnrepository.com/artifact/org.springframework/spring-web/3.0.5.RELEASE


[How To Ask Questions][Read before you PM me]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Error configuring application listener of class org.springframework.web.context.ContextLoader
 
Similar Threads
Query regarding loading the application.xml file inside servlet
Context [/HibernateTest] startup failed due to previous errors
Spring with Hibernate Integration
Integration problems using h:selectOneMenu
Deployment Exception