I am trying to run a simple Struts2 application but it always throw the following exception:
java.lang.ClassNotFoundException: org.apache.struts2.dispatcher.
Use this command to convert Maven project to Dynamic Web Project for Eclipse:
mvn eclipse:eclipse -Dwtpversion=3.4.2
you may change whatever WTP version you use
.classpath should be like this
.classpath
After build the WAR file should deploy to %CATALINA_BASE%\webapps.
%CATALINA_BASE%\webapps