Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Exception starting filter in Struts2

 
Raman Ghai
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there ,
I have a Struts2 Hello World application in Eclipse JUNO for EE developers which is giving this weird exception when I try to deploy it on Tomcat7.
Here is the exception :


web/WEB-INF/web.xml


web/WEB-INF/struts.xml


1. If I remove the entry from the web.xml file , the application gets deployed but does not open the HelloWorld.jsp page.
2. I read somewhere to make the value of devMode to false but even it didn't help.
3. I tried using org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter as filter class but even it did not help.

Please help .
 
Joe Ess
Bartender
Pie
Posts: 9265
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


Looks like you are missing a dependency. What version of Struts are you using and what is in your WEB-INF/lib directory?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic