tomcat启动时,ssh2工程加载不起来
工程是由struts2+hibernate+spring
错误如下:
严重: Error listenerStart
2010-8-18 11:42:38 org.apache.catalina.core.StandardContext start
严重: Context [/ssh2] startup failed due to previous errors
web.xml内容
<?xml version="1.0" encoding="gbk"?>
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"
version="2.4">
<filter>
<filter-name>struts</filter-name>
<filter-class>
org.apache.struts2.dispatcher.FilterDispatcher
</filter-class>
</filter>
<filter-mapping>
<filter-name>struts</filter-name>
<url-pattern>/*</url-pattern>
<dispatcher>REQUEST</dispatcher>
<dispatcher>FORWARD</dispatcher>
</filter-mapping>
org.springframework.web.context.ContextLoaderListener
但如果把下面这一段去掉,就不会报错了
struts
org.apache.struts2.dispatcher.FilterDispatcher
struts
/*
REQUEST
FORWARD
可是这一段去掉,struts用不起来,用的时候还会报错,这是什么问题,怎么解决,谢谢