• 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

java.lang.ClassNotFoundException: org.apache.struts2.dispatcher.FilterDispatcher

 
Ranch Hand
Posts: 100
Eclipse IDE
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi

I have created a struts2 application with Tomcat 6 server. But when I try to run the project on Tomcat server, I get the below exception. All the jar files related to struts2 are available in the build path.




Please Assist in fixing this issue. Thanks in advance
 
Ranch Hand
Posts: 485
Eclipse IDE Firefox Browser Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It should be there Struts-Core package check out whether that is added or not. And use updated filter StrutsPrepareAndExecuteFilter
 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Varshini Priya How do yu fix this ??
 
Thony Ng
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I fixed it. If you get this error java.lang.ClassNotFoundException: org.apache.struts2.dispatcher.FilterDispatcher that means. there are struts2 jar wich miss in the build path and WEB-INF\lib. The same issue for all
java.lang.ClassNotFoundException: org.apache.word.dispatcher.FilterDispatcher; Just need to add search word corresponding jar on google. and add it to the build path and lib folder.

Hope, it will help
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic