Spring整合struts ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to sta

来源:互联网 发布:淘宝中国质造入驻条件 编辑:程序博客网 时间:2024/06/03 20:00

Spring整合struts 

Tomcat报错:ContainerBase.addChild: start:  org.apache.catalina.LifecycleException: Failed to sta


我的是Spring的版本和spring-web.xml的版本不一致出的问题

改为和Spring同一个版本就行了

就是配置文件中的这个地方

http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd
http://www.springframework.org/schema/jdbc http://www.springframework.org/schema/jdbc/spring-jdbc-3.0.xsd
http://www.springframework.org/schema/jee http://www.springframework.org/schema/jee/spring-jee-3.0.xsd
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-3.0.xsd
http://www.springframework.org/schema/data/jpa http://www.springframework.org/schema/data/jpa/spring-jpa-1.3.xsd
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-3.0.xsd
http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc-3.0.xsd
http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-3.0.xsd">

阅读全文
0 0
原创粉丝点击