使用Lomboz3生成Struts2项目后运行Tomcat出现Unable to load bean错误的解决
来源:互联网 发布:sql给表增加字段 编辑:程序博客网 时间:2024/06/01 09:51
使用Lomboz生成Struts2项目时,指定Struts2的目录后,它会笨笨的把一大堆不需要的plugin包给拷贝到你的Lib目录中,导致运行Tomcat时出现一个异常如下:
Unable to load bean: type:com.opensymphony.xwork2.ObjectFactory class:org.apache.struts2.spring.StrutsSpringObjectFactory
临时的解决方法是:删除掉你不需要的包文件比如Struts2-xxxx-plugin-2.0.xx.jar之类的。
运行,异常消失。
一般来说这些包在你刚刚开始建项目的时候是用不到的,等你用到的时候,你就应该很明确的知道要用哪一个
这时再拷贝一个就行了。
- 使用Lomboz3生成Struts2项目后运行Tomcat出现Unable to load bean错误的解决
- Struts2 - Unable to load configuration. - bean 错误解决
- struts2启动tomcat的错误 Unable to load configuration.
- tomcat下配置struts2的Unable to load configuration.-bean-jar:file问题
- 关于Struts2项目运行报错Unable to load configuration
- struts2启动tomcat的错误 Unable to load configuration. - action解决方法
- unable to load bean错误处理
- struts Unable to load bean 错误
- Unable to load configuration. - bean - jar:file:/d:/Tomcat/webapps/ssh007/WEB-INF/lib/struts2-spring
- struts2出现Unable to load configuration. - bean - jar:file:/...struts-default.xml问题
- struts2 -- Unable to load configuration - bean - jar:file: struts-default.xml:47:178(已解决)
- Struts2 错误Unable to load configuration. - action
- struts2启动错误Unable to load configuration.
- 解决PHP startup: Unable to load dynamic library的错误
- 解决运行eclipse时出现的错误Failed to load the JNI shared library
- Struts2学习之Unable to load configuration. - bean 异常
- struts2 异常Unable to load bean 文件struts-default.xml
- 用maven管理项目,后加入tomcat中出现以下错误Failed to load or instantiate TagLibraryValidator class:
- 无线局域网络voip应用详解
- 关于爱情
- 隐藏指定程序托盘图标的方法
- theprogresscreateandmodifyDatabase
- 取网页中的IP发送Email
- 使用Lomboz3生成Struts2项目后运行Tomcat出现Unable to load bean错误的解决
- C#泛型学习笔记之一(约束)
- 手工修改spfile文件后,产生ora-00600错误解决方法
- 在C#中如何实现枚举类型的特性扩展和反射获取
- 获取进程命令行之四
- 一位高手悟出的炒股铁律,照着做,富可敌国!
- 无题
- 又见QQ十大最牛签名
- Mysql 常见问题