由于加了spring.jar包,

来源:互联网 发布:sql true false 编辑:程序博客网 时间:2024/04/28 11:53

2007-3-30 13:34:05 org.apache.catalina.core.StandardContext start
严重: Error listenerStart
2007-3-30 13:34:05 org.apache.catalina.core.StandardContext start
严重: Context startup failed due to previous errors
2007-3-30 13:34:07 org.apache.catalina.core.StandardHostDeployer install

解决方案:

由于加了spring.jar包,另外又加了spring-core.jar这一类的包导致错误!

<?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>webwork</filter-name>

  <filter-class>com.opensymphony.webwork.dispatcher.FilterDispatcher</filter-class>

 </filter>

 

 <filter-mapping>

  <filter-name>webwork</filter-name>

  <url-pattern>/*</url-pattern>

 </filter-mapping>

  

 <listener>

        <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>

    </listener>

</web-app>