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
- struts2-core-2.0.14.jar
- commons-logging-1.0.4.jar
- freemarker-2.3.8.jar
- ognl-2.6.11.jar
- 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)
- jstl.jar
- 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.
Posted in: Struts2
Posted on September 15, 2010
0