This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons 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: 14687

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
jQuery in Action, 2nd edition
subject: struts2-spring-plugin-2.0.11
Similar Threads
Struts2 FileUpload - request is nulled
migration to Struts2
regarding struts2-spring-plugin
Struts2 on WebSphere 7