File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "struts2-spring-plugin-2.0.11" Watch "struts2-spring-plugin-2.0.11" New topic
Author

struts2-spring-plugin-2.0.11

Harshani Wickramarathna
Greenhorn

Joined: Nov 15, 2007
Posts: 28
Hi.

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"

Thanks
Harshani
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

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


[My Blog]
All roads lead to JavaRanch
Harshani Wickramarathna
Greenhorn

Joined: Nov 15, 2007
Posts: 28
Yes.

spring.jar in in the WEB-INF/lib
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: struts2-spring-plugin-2.0.11