• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Exception starting filter in Struts2

 
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 .
 
Bartender
Posts: 9626
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic