整合spring,struts,ext的时候,框架搭建完毕启动tomcat,出现
Cannot locate the chosen ObjectFactory implementation: spring Cannot locate the chosen ObjectFactory implementation: spring
的错误,分析了下以前的项目,发现原来缺少了包,struts2-spring-plugin-2.0.11.jar。
加入该包,ok!
Struts2整合Spring失败解决
本文介绍了一个关于Struts2整合Spring时遇到的问题及解决方案。作者在搭建整合框架时遇到无法定位ObjectFactory实现的错误,经过排查发现是因为缺少struts2-spring-plugin-2.0.11.jar这个依赖包。加入该包后问题得到解决。
整合spring,struts,ext的时候,框架搭建完毕启动tomcat,出现
Cannot locate the chosen ObjectFactory implementation: spring Cannot locate the chosen ObjectFactory implementation: spring
的错误,分析了下以前的项目,发现原来缺少了包,struts2-spring-plugin-2.0.11.jar。
加入该包,ok!

被折叠的 条评论
为什么被折叠?