ClassNotFoundException –>FilterDispatcher Struts2 in Eclipse

Posted on September 15, 2010

0


If you are getting started with Struts2 or trying to migrate from MyEclipse to Eclipse … you may encounter ClassNotFoundException –>FilterDispatcher error even after adding all the jars.

Check these

1. Project Build path … Add External Jars … make sure you add

  1. struts2-core-2.0.14.jar
  2. commons-logging-1.0.4.jar
  3. freemarker-2.3.8.jar
  4. ognl-2.6.11.jar
  5. xwork-2.0.7.jar

2. Add taglibs standard jars (Download from here http://jakarta.apache.org/site/downloads/downloads_taglibs-standard-1.0.cgi)

  1. jstl.jar
  2. standard.jsr

3. Click on Add Libraries … add Web Deployment … for this project and you should be done.

This assumes Tomcat (6.x) is configured as a server already.

Go for it.

Advertisements
Tagged: ,
Posted in: Struts2