

这是目录结构:

这是WebContent/WEB-INF下web.xml
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" id="WebApp_ID" version="3.0">
<display-name>02_02_Struts 2</display-name>
<welcome-file-list>
<welcome-file>login.jsp</welcome-file>
<welcome-file>index.htm</welcome-file>
<welcome-file>index.jsp</welcome-file>
<welcome-file>default.html</welcome-file>
<welcome-file>default.htm</welcome-file>
<welcome-file>default.jsp</welcome-file>
</welcome-file-list>
<filter>
<filter-name>struts2</filter-name>
<filter-class>org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>struts2</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
</web-app>
这是TOMCAT启动时报错:

在web.xml中,无论<filter-class></filter-class>中填任何包中所含的.class文件启动均会报错。。。
------解决方案--------------------
导了再截个图上来
------解决方案--------------------
怎么没看见struts2核心包!你没导核心包把
导了struts2-core-2.1.8.jar还是一样的。。
导了再截个图上来
http://blog.csdn.net/zjtimef/article/details/10046885看看这个能帮你么