首页 > 其他 > 详细

tomcat 启动报 找不到 StrutsPrepareAndExecuteFilter。。

时间:2014-03-13 12:56:12      阅读:577      评论:0      收藏:0      [点我收藏+]

<?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" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" id="WebApp_ID" version="2.5">
<filter>
<filter-name>struts2</filter-name> <!-- jar 包缺失可能造成找不到类 -->
<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>

 

可能是因为jar 包 缺失 ,或者  jar 包的版本 不一致导致的 。bubuko.com,布布扣

tomcat 启动报 找不到 StrutsPrepareAndExecuteFilter。。,布布扣,bubuko.com

tomcat 启动报 找不到 StrutsPrepareAndExecuteFilter。。

原文:http://www.cnblogs.com/zhangchenglzhao/p/3597604.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!