Apache Tomcat error : The requested resource is not available
问题 I am following this tutorial to build my first Struts2 example. My project name (and war file also) is HelloWorld and whenever I try to access http://localhost:8080/HelloWorld/index.jsp I get The requested resource is not available. I have my war file in tomcat webapps directory and tomcat is running fine. Where am I going wrong? 回答1: That tutorial is OLD. It still uses org.apache.struts2.dispatcher.FilterDispatcher , that is a deprecated filter since Struts 2.1.8. You need to use the new