Struts Exception GenericsObjectTypeDeterminer
来源:互联网 发布:淘宝优惠券shipinwj 编辑:程序博客网 时间:2024/06/08 07:56
Struts Exception:
Caused by: java.lang.ClassNotFoundException: com.opensymphony.xwork2.util.GenericsObjectTypeDeterminer
网上说xwork版本有问题,我的是 struts-core-2.0.9 的struts。xwork是 2.1.2的版本,我换了个 2.0.4的xwork就不报这个错了。
总结:出现上面的问题解决方法是:
1,首先看Caused by: 提示是什么,我这里提示的是java.lang.ClassNotFoundException。这样可以说,我们缺少这个类。
出现这个的错误的原因一般是:a,我们的工程中没有相应的jar包。b,工程中使用的jar包的版本不正确。
2,根据java.lang.ClassNotFoundException后面的代码是com.opensymphony.xwork2.util.GenericsObjectTypeDeterminer
这个类出现了问。我们就可以在网上找到这个类相应的jar包,进行添加。添加后不行,我们应当就要考虑jar版本的问题。
补充:
Struts 要正常使用需要导入的jar包:
要想正常使用struts2.1.6,至少需要如下6个jar包:
struts2-core-2.1.6.jar
freemarker-2.3.13.jar
commons-logging-1.0.4.jar
ognl-2.6.11.jar
xwork-2.1.2.jar
commons-fileupload-1.2.1.jar </SPAN>
- Struts Exception GenericsObjectTypeDeterminer
- struts global-exception-mappings
- Exception starting filter struts
- struts global-exception-mappings解析
- 严重: Exception starting filter struts
- Struts :Exception starting filter struts2
- Caught exception while loading file struts-default
- Struts has detected an unhandled exception
- Struts has detected an unhandled exception
- SSH:Struts has detected an unhandled exception
- Struts Problem Report Struts has detected an unhandled exception:
- Struts Problem Report Struts has detected an unhandled exception:
- Struts学习 错误:exception: cannot find actionmappings or actionformbeans collection
- [技术]Tomcat下的用struts时候的一个exception
- Struts学习 错误:exception: cannot find actionmappings or actionformbeans collection
- Exception creating bean of class org.apache.struts.action.DynaActionFrom:
- Caught exception while loading file struts-default.xml
- 关于 Struts 1.1 Exception Handler 的应用补充
- 如何维护大项目-修复bug
- VC++ Win7关闭UAC 写注册表
- 树
- 多线程之Callable
- 一步步搭建Ubuntu环境——卸载liboffice
- Struts Exception GenericsObjectTypeDeterminer
- ppp拨号脚本配置
- mssql 2008 里, 如何把log文件的清空。
- 通过COM技术实现Windows Shell编程(图)
- 直接写IO端口0x64完成计算机重启操作实现暴力关机
- RING0级暴力搜索内存检测系统隐藏进程(或ROOTKIT)(实测可运行) .
- Remove Duplicates from Sorted Array
- android之回调函数的用法和意义
- keyboard scan code 表