Struts+mybatis+spring整合tomcat启动报错

来源:互联网 发布:jdk源码分析 pdf 编辑:程序博客网 时间:2024/06/06 20:16

Class: com.opensymphony.xwork2.spring.SpringObjectFactory

  File: SpringObjectFactory.java 

Method: getClassInstance  

Line: 220 - com/opensymphony/xwork2/spring/SpringObjectFactory.java:220:-1

在web.xml加上这个就行了

<listener>

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