【struts2环境求助】struts2运行时服务器启动不了
这是异常。后面还有一点,字数有限制。
2012-6-1 10:28:05 org.apache.catalina.core.AprLifecycleListener init
信息: Loaded APR based Apache Tomcat Native library 1.1.22.
2012-6-1 10:28:05 org.apache.catalina.core.AprLifecycleListener init
信息: APR capabilities: IPv6 [false], sendfile [true], accept filters [false], random [true].
2012-6-1 10:28:06 org.apache.coyote.http11.Http11AprProtocol init
信息: Initializing Coyote HTTP/1.1 on http-8080
2012-6-1 10:28:06 org.apache.coyote.ajp.AjpAprProtocol init
信息: Initializing Coyote AJP/1.3 on ajp-8009
2012-6-1 10:28:06 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 1132 ms
2012-6-1 10:28:06 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2012-6-1 10:28:06 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/6.0.35
2012-6-1 10:28:06 org.apache.catalina.startup.HostConfig deployDescriptor
信息: Deploying configuration descriptor host-manager.xml
2012-6-1 10:28:06 org.apache.catalina.startup.HostConfig deployDescriptor
信息: Deploying configuration descriptor manager.xml
2012-6-1 10:28:06 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory docs
2012-6-1 10:28:06 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory ROOT
2012-6-1 10:28:06 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory struts2
2012-6-1 10:28:07 com.opensymphony.xwork2.util.logging.commons.CommonsLogger error
严重: Dispatcher initialization failed
java.lang.RuntimeException:
java.lang.reflect.InvocationTargetException at com.opensymphony.xwork2.inject.ContainerImpl$MethodInjector.inject(ContainerImpl.java:301)
这是我的目录结构。我把struts的应用删了,服务器又能启动了。
------解决方案--------------------
请注意,一定要STRUTS.XML配置正确