This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum 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
Register / Login


JavaRanch » Java Forums » Frameworks » Spring
Reply 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: 1282

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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Error configuring application listener of class org.springframework.web.context.ContextLoader
 
Similar Threads
Context [/HibernateTest] startup failed due to previous errors
Integration problems using h:selectOneMenu
Spring with Hibernate Integration
Deployment Exception
Query regarding loading the application.xml file inside servlet