File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Other Application Frameworks and the fly likes struts2-spring-plugin-2.0.11 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "struts2-spring-plugin-2.0.11" Watch "struts2-spring-plugin-2.0.11" New topic


Harshani Wickramarathna

Joined: Nov 15, 2007
Posts: 28

I have integrated spring in to my struts2 application but when it runs it throws the following exception. I'm having spring.jar in the classpath and it contains the org.springframework.web.context.ContextLoaderListener class.
So can you please tell me how can i get rid of this exception?

"SEVERE: Error configuring application listener of class org.springframework.web.context.ContextLoaderListener
java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener"

Christophe Verré

Joined: Nov 24, 2005
Posts: 14688

In the classpath ? Do you mean under WEB-INF/lib ?

[My Blog]
All roads lead to JavaRanch
Harshani Wickramarathna

Joined: Nov 15, 2007
Posts: 28

spring.jar in in the WEB-INF/lib
I agree. Here's the link:
subject: struts2-spring-plugin-2.0.11
jQuery in Action, 3rd edition