File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes Exception starting filter in Struts2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Exception starting filter in Struts2 " Watch "Exception starting filter in Struts2 " New topic
Author

Exception starting filter in Struts2

Raman Ghai
Ranch Hand

Joined: Jan 01, 2012
Posts: 51
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

Joined: Oct 29, 2001
Posts: 8903
    
    8



Looks like you are missing a dependency. What version of Struts are you using and what is in your WEB-INF/lib directory?


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Exception starting filter in Struts2