wood burning stoves*
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 Soft Skills this week in the Jobs Discussion 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: 1680
    
    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]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Error configuring application listener of class org.springframework.web.context.ContextLoader