初学struts2 配置到tomcat服务器出现
Error filterStart错误
将我刚做的struts2 登陆程序配置到tomcat服务器,结果显示以下信息,应用启动失败
八月 10, 2012 3:53:40 下午 org.apache.catalina.core.AprLifecycleListener init
信息: Loaded APR based Apache Tomcat Native library 1.1.24 using APR version 1.4.6.
八月 10, 2012 3:53:40 下午 org.apache.catalina.core.AprLifecycleListener init
信息: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
八月 10, 2012 3:53:41 下午 org.apache.catalina.core.AprLifecycleListener initializeSSL
信息: OpenSSL successfully initialized (OpenSSL 1.0.1c 10 May 2012)
八月 10, 2012 3:53:41 下午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["http-apr-8080"]
八月 10, 2012 3:53:41 下午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["ajp-apr-8009"]
八月 10, 2012 3:53:41 下午 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 1605 ms
八月 10, 2012 3:53:41 下午 org.apache.catalina.core.StandardService startInternal
信息: Starting service Catalina
八月 10, 2012 3:53:41 下午 org.apache.catalina.core.StandardEngine startInternal
信息: Starting Servlet Engine: Apache Tomcat/7.0.29
八月 10, 2012 3:53:42 下午 com.opensymphony.xwork2.util.logging.commons.CommonsLogger info
信息: Parsing configuration file [struts-default.xml]
八月 10, 2012 3:53:42 下午 org.apache.catalina.core.StandardContext startInternal
严重: Error filterStart
八月 10, 2012 3:53:42 下午 org.apache.catalina.core.StandardContext startInternal
严重: Context [/struts2]
startup failed due to previous errors八月 10, 2012 3:53:42 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory D:\Apache\apache-tomcat-7.0.29\webapps\docs
八月 10, 2012 3:53:42 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory D:\Apache\apache-tomcat-7.0.29\webapps\examples
八月 10, 2012 3:53:42 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory D:\Apache\apache-tomcat-7.0.29\webapps\host-manager
八月 10, 2012 3:53:42 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory D:\Apache\apache-tomcat-7.0.29\webapps\manager
八月 10, 2012 3:53:42 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory D:\Apache\apache-tomcat-7.0.29\webapps\ROOT
八月 10, 2012 3:53:42 下午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["http-apr-8080"]
八月 10, 2012 3:53:42 下午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["ajp-apr-8009"]
八月 10, 2012 3:53:42 下午 org.apache.catalina.startup.Catalina start
信息: Server startup in 1170 ms
项目下的WEB-INF/lib下有
--commons-fileupload-1.2.2.jar
--commons-io-2.0.1.jar
--commons-logging-1.1.1.jar
--freemarker-2.3.18.jar
--javassist-3.11.0.GA.jar
--ognl-3.0.3.jar
--struts2-core-2.3.1.jar
--xwork-core-2.3.1.jar
web.xml配置信息为:
<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.5"
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_2_5.xsd">
<filter>
<filter-name>struts2</filter-name>
<filter-class>org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter</filter-class>
</filter>
<filter-mapping>
<filter-