整合SSH2出错
2010-06-10 23:51
239 查看
严重: Dispatcher initialization failed Unable to load configuration. - bean - jar:file:/D:/server/Tomcat%205.5/webapps/TestStruts2/WEB-INF/lib/struts2-core-2.1.8.jar!/struts-default.xml:47:178 at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:58) ...... Caused by: Unable to load bean: type:org.apache.struts2.dispatcher.multipart.MultiPartRequest class:org.apache.struts2.dispatcher.multipart.JakartaMultiPartRequest - bean - jar:file:/D:/server/Tomcat%205.5/webapps/TestStruts2/WEB-INF/lib/struts2-core-2.1.8.jar!/struts-default.xml:47:178 at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:221) ......
Caused by: java.lang.NoClassDefFoundError: org/apache/commons/fileupload/RequestContext
...... 2010-5-10 15:55:30 org.apache.catalina.core.StandardContext filterStart 严重: Exception starting filter struts2 Unable to load configuration. - bean - jar:file:/D:/server/Tomcat%205.5/webapps/TestStruts2/WEB-INF/lib/struts2-core-2.1.8.jar!/struts-default.xml:47:178 ...... Caused by: Unable to load configuration. - bean - jar:file:/D:/server/Tomcat%205.5/webapps/TestStruts2/WEB-INF/lib/struts2-core-2.1.8.jar!/struts-default.xml:47:178 ...... Caused by: Unable to load bean: type:org.apache.struts2.dispatcher.multipart.MultiPartRequest class:org.apache.struts2.dispatcher.multipart.JakartaMultiPartRequest - bean - jar:file:/D:/server/Tomcat%205.5/webapps/TestStruts2/WEB-INF/lib/struts2-core-2.1.8.jar!/struts-default.xml:47:178 ...... Caused by: java.lang.NoClassDefFoundError: org/apache/commons/fileupload/RequestContext ...... 2010-5-10 15:55:30 org.apache.catalina.core.StandardContext start 严重: Error filterStart 2010-5-10 15:55:30 org.apache.catalina.core.StandardContext start 严重: Context [/TestStruts2] startup failed due to previous errors 2010-5-10 15:55:30 org.apache.catalina.core.ApplicationContext log
解决办法:打开Eclipse中的 Project->Properties->Java Build Path 菜单,
在右侧面板中
的"Source"选项卡,在Excluded中加入"**/.svn/**"。
也就是把.svn文件夹从编译路径中排除,这样就不会出现上面的
问题了
相关文章推荐
- ssh2整合(一)
- FineReport传递中文参数的解决办法 整合SSH2在Tomact6下
- SSH2整合数据源dataSource配置DriverManagerDataSource 和BasicDataSource 区别
- SSH2整合出现404的问题解决
- SSH2整合
- Spring整合struts2中Tomcat启动可能出错原因之一
- ssh2整合的一个小Demo
- spring-boot 整合 druid 页面出错 (*) property for user to setup
- SSM整合单元测试出错@org.springframework.beans.factory.annotation.Autowired(required=true)}
- (ssh2整合)log4j.xml
- ssh2整合
- SSH2(Struts2、Spring3与Hibernate3)的整合
- SSH2 Step by Step- Step 4 - Struts2、Spring和Hibernate的整合
- 整合SSH2框架之—init.properties 文件的写法
- 关于在SSH2整合时,如何使用单元测试
- SSH2整合之注解篇
- springboot整合webService CXF时出错
- ssh2整合OA问题集
- ssh整合出错——Duplicate class/entity mapping com.hl.fleetingtime.model.User
- Myeclipse 2014的ssh整合出错java.lang.NoSuchMethodError: antlr.collections.AST.getLine()