运行Struts和Spring整合项目出现这个错误,请大神帮忙解答!

Unable to load bean: type:com.opensymphony.xwork2.ObjectFactory class:org.apache.struts2.spring.StrutsSpringObjectFactory - bean - jar:file:/D:/apache-tomcat-6.0.43/webapps/StrutsSpring/WEB-INF/lib/struts2-spring-plugin-2.1.8.jar!/struts-plugin.xml:29:132

这不是已经报出来struts-plugin.xml的29行132列处有错误,你检查一下。追问

没有这个文件,是不是包里面?

追答

对的,在struts2-spring-plugin-2.1.8.jar这个包里,可以打开查看一下,应该是你的配置哪里不对,导致这一行报错。

温馨提示:答案为网友推荐,仅供参考
相似回答