tomcat启动时struts2出错问题
来源:互联网 发布:淘宝代销如何交保证金 编辑:程序博客网 时间:2024/05/22 17:31
刚开始使用Struts2,第一个下载的例子就出错。
Unable to load bean: type:com.opensymphony.xwork2.ObjectFactory class:org.apache.struts2.spring.StrutsSpringObjectFactory - bean - jar:file:/D:/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/testStruts/WEB-INF/lib/struts2-spring-plugin-2.0.6.jar!/struts-plugin.xml:8:132
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:208)
at org.apache.struts2.config.StrutsXmlConfigurationProvider.register(StrutsXmlConfigurationProvider.java:101)
Caused by: java.lang.NoClassDefFoundError: org/springframework/context/ApplicationContextAware
原来是spring插件的问题。如果没有spring组件就会出错。
解决方法:把struts2中默认的jar中与spring相关的去掉(也可以只把用到的留下)就OK了。
- tomcat启动时struts2出错问题
- struts2.1.6启动tomcat服务器时出错
- struts2启动tomcat服务器时出错
- 用struts2开发时启动tomcat出错 ,各位老师帮忙看看啊~~谢谢了~·
- Spring整合struts2中Tomcat启动可能出错原因之一
- tomcat启动时,一闪,出错的解决办法
- Tomcat启动出错????
- Tomcat启动出错????
- tomcat 启动出错
- tomcat启动出错
- 启动tomcat出错
- Tomcat启动出错详解
- Tomcat启动出错
- STS启动tomcat出错
- tomcat启动出错
- tomcat启动出错
- linux启动tomcat出错
- myclipse tomcat启动出错
- Extending Ext Class (EXT 的类继承概念)
- 嵌入式系统软件开发答疑
- 家用保健产品项目开发计划
- JavaScript实际应用:innerHTMl和确认提示的使用
- [zz]基于TCP半连接SYN Flooding攻击原理及防范
- tomcat启动时struts2出错问题
- [zz]话说长连接和短连接
- 我的技术博客
- 用枚举法求解百钱百鸡问题(复习)
- 毕设日记(三)——不要让SIP覆盖了TextBox
- 软件测试管理--第二章 2.2节
- 汉字转化为全拼
- js 属性和方法集锦
- Excel设置次坐标轴