struts2的错误:严重: Error filterStart
我是照着视频教程做的,基本一样
我的是MyEclipse5.5,tomcat5.0,jdk1.5
网上教程是MyEclipse6.0,tomcat6.0,jdk1.5
错误如下:
2009-8-29 18:18:17 org.apache.catalina.core.StandardContext start
严重: Error filterStart
2009-8-29 18:18:17 org.apache.catalina.core.StandardContext start
严重: Context startup failed due to previous errors
2009-8-29 18:18:22 org.apache.commons.digester.Digester endElement
严重: End event threw exception
2009-8-29 18:18:22 org.apache.catalina.startup.HostConfig deployDescriptors
严重: Error deploying configuration descriptor truts2.xml
web.xml
<?xml version="1.0" encoding="UTF-8"?><web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"><filter> <filter-name>struts2</filter-name> <filter-class> org.apache.struts2.dispatcher.FilterDispatcher </filter-class></filter><filter-mapping> <filter-name>struts2</filter-name> <url-pattern>/*</url-pattern></filter-mapping></web-app>
<?xml version="1.0" encoding="UTF-8" ?><!DOCTYPE struts PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 2.0//EN" "http://struts.apache.org/dtds/struts-2.0.dtd"> <struts> <package name="struts2" extends="struts-default"> <action name="login" class="com.test.action.LoginAction"> <result name="success">/result.jsp</result> </action> </package></struts>