011-2-9 17:30:49 org.apache.catalina.core.StandardContext start
严重: Error filterStart
2011-2-9 17:30:49 org.apache.catalina.core.StandardContext start
严重: Context [/struts] startup failed due to previous errors
2011-2-9 17:30:49 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
严重: The web application [/struts] created a ThreadLocal with key of type [null] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@113981b]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@1672bbb]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
2011-2-9 17:30:49 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
严重: The web application [/struts] created a ThreadLocal with key of type [null] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@6833f2]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@12a73d9]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
程序绝对没问题,看看下面两个配置文件,我也没觉得有问题,应该是正确的,都是在视频上照扒下来的,已经对换了好几遍了
struts.xml<?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="itcast" namespace="/test" extends="struts-default">
        <action name="helloworld" class="cn.itcast.action.HelloWorldAction" method="execute" >
<result name="success">/WEB-INF/page/hello.jsp</result>
        </action>
    </package> 
</struts>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.ng.filter.StrutsPrepareAndExecuteFilter</filter-class>
 <!-- 自从Struts 2.1.3以后,下面的FilterDispatcher已经标注为过时
    <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>