Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

struts2-spring-plugin-2.0.11

 
Harshani Wickramarathna
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In the classpath ? Do you mean under WEB-INF/lib ?
 
Harshani Wickramarathna
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes.

spring.jar in in the WEB-INF/lib
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic