当前位置: 代码迷 >> Java Web开发 >> Error filterStart?解决方案
  详细解决方案

Error filterStart?解决方案

热度:261   发布时间:2016-04-17 10:46:50.0
Error filterStart?
用struts2框架写的程序 可是tomcat打开报错Error filterStart
我的web.xml配置如下
<?xml version="1.0" encoding="UTF-8"?>
<web-app version="3.0"
xmlns="http://java.sun.com/xml/ns/javaee"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
  http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd">
  
<filter>
<filter-name>struts2</filter-name>
<filter-class>org.apache.struts2.dispatcher.ng.filter.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>

此外之前我用的是myeclipse 最近换了eclipse 发现建了一个web项目后 WEB-INF文件夹下没有classes文件夹和web.xml配置文件 应该如何解决
分比较少 请知道的坛友帮个忙

------解决方案--------------------
  相关解决方案