• 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
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

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?
 
They gave me pumpkin ice cream. It was not pumpkin pie ice cream. Wiping my tongue on this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic