This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
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 OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA 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: 1648
    
    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]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Error configuring application listener of class org.springframework.web.context.ContextLoader