struts2 的hello world出错
本人初学struts2,照着书上写了一个hello world。结果启动Tomcat是报如下错误:
2012-8-12 7:51:45 org.apache.catalina.core.AprLifecycleListener init
信息: The APR based Apache Tomcat Native library which allows optimal performanc
e in production environments was not found on the java.library.path: C:\Program
Files\Apache Software Foundation\Tomcat 6.0\bin;.;C:\Windows\system32;C:\Windows
;C:\Program Files\Java\jdk1.5.0_06\bin;C:\Program Files\Rational\Common;E:\MySql
\MySQL Server 5.5\bin;C:\Program Files\MySQL\MySQL Server 5.1\bin;C:\Program Fil
es\Microsoft Visual Studio\Common\Tools\WinNT;C:\Program Files\Microsoft Visual
Studio\Common\MSDev98\Bin;C:\Program Files\Microsoft Visual Studio\Common\Tools;
C:\Program Files\Microsoft Visual Studio\VC98\bin
2012-8-12 7:51:46 org.apache.coyote.http11.Http11Protocol init
信息: Initializing Coyote HTTP/1.1 on http-8080
2012-8-12 7:51:46 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 3232 ms
2012-8-12 7:51:46 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2012-8-12 7:51:46 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/6.0.20
2012-8-12 7:51:50 org.apache.struts.validator.ValidatorPlugIn initResources
信息: Loading validation rules file from '/WEB-INF/validator-rules.xml'
2012-8-12 7:51:50 org.apache.struts.validator.ValidatorPlugIn initResources
信息: Loading validation rules file from '/WEB-INF/validation.xml'
2012-8-12 7:52:03 com.opensymphony.xwork2.util.logging.commons.CommonsLogger inf
o
信息: Parsing configuration file [struts-default.xml]
2012-8-12 7:52:03 com.opensymphony.xwork2.util.logging.commons.CommonsLogger inf
o
信息: Unable to locate configuration files of the name struts-plugin.xml, skippi
ng
2012-8-12 7:52:03 com.opensymphony.xwork2.util.logging.commons.CommonsLogger inf
o
信息: Parsing configuration file [struts-plugin.xml]
2012-8-12 7:52:04 com.opensymphony.xwork2.util.logging.commons.CommonsLogger inf
o
信息: Parsing configuration file [struts.xml]
2012-8-12 7:52:04 com.opensymphony.xwork2.util.logging.commons.CommonsLogger inf
o
信息: Overriding property struts.i18n.reload - old value: false new value: true
2012-8-12 7:52:04 com.opensymphony.xwork2.util.logging.commons.CommonsLogger inf
o
信息: Overriding property struts.configuration.xml.reload - old value: false new
value: true
2012-8-12 7:52:04 org.apache.catalina.core.StandardContext start
严重: Error filterStart
2012-8-12 7:52:05 org.apache.catalina.core.StandardContext start
严重: Context [/Struts2_0100_Introduction] startup failed due to previous errors
2012-8-12 7:52:05 org.apache.coyote.http11.Http11Protocol start
信息: Starting Coyote HTTP/1.1 on http-8080
2012-8-12 7:52:05 org.apache.jk.common.ChannelSocket init
信息: JK: ajp13 listening on /0.0.0.0:8009
2012-8-12 7:52:05 org.apache.jk.server.JkMain start
信息: Jk running ID=0 time=0/54 config=null
2012-8-12 7:52:06 org.apache.catalina.startup.Catalina start
信息: Server startup in 19479 ms
请看得懂的大侠们帮帮忙 --------------------编程问答-------------------- 把配置文件内容贴出来看看 --------------------编程问答-------------------- 过滤文件配置错误啊 --------------------编程问答-------------------- web.xml 和struts.xml 贴出来、
/Struts2_0100_Introduction
话说、好像马士兵的项目 --------------------编程问答-------------------- 看看web.xml配置了没有。 --------------------编程问答-------------------- 貌似你开发环境都没搭建好,JDK、tomcat开发环境搭建好了没,环境变量设好了没,路径对不对
补充:Java , Java EE