您的位置:首页 > 移动开发 > Objective-C

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

2014-04-03 09:22 288 查看
1.lib中多导入包的原因:去掉struts2-spring-plugin-2.1.8包即可,因为没有用到spring。

2.还有的原因是用spring了,却没加监听器,在web.xml里面加上

<context-param>

<param-name>contextConfigLocation</param-name>

<param-value>classpath:applicationContext*.xml</param-value>

</context-param>

<listener>

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

</listener>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐