如果你的struts.xml和applicationContext.xml都配置正确,还报以上的错误,那么可以判断你的项目缺少jar包: struts2-spring-plugin-2.0.11.1.jar、commons-fileupload-1.2.1.jar和commons-io-1.3.2.jar 导入这些jar包就行了,这些jar可以在struts-2.2.1的lib下找到。 在搭工程的时候,commons-fileupload-1.2.1.jar和commons-io-1.3.2.jar要是忘记了,报错很容易就看出来少哪些jar包, 但是struts2-spring-plugin-2.0.11.1.jar不太容易发现。
Unable to load configuration. - action -
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章
Strusts2+Hibernate4+Spring3的框架整合
panxianwen2012
2020-07-08 12:00:35
Web移动终端开发
panxianwen2012
2020-07-08 12:00:35
Java SSH获取服务器文件内容
哈哈金馆长
2020-07-08 11:36:23
java 模糊查询 分页(自定义标签)
jayqean
2020-07-08 10:40:19
spring中装载多个配置文件的解决方法
shihuacai
2020-07-08 10:04:11
struts 进不了action方法
jayqean
2020-07-08 10:03:21
dao注入的sessionFactory和hibernateTemplate丢失
幻岁
2020-07-08 04:29:41
struts2快速入门_day02
一个虽然帅,但是菜的cxy
2020-07-07 23:08:11
struts2快速入门_day03
一个虽然帅,但是菜的cxy
2020-07-07 23:08:11
【SSH实战】IntelliJ IDEA环境开发BOS物流项目(六)POI技术Excel文件导出
麦客子
2020-07-07 21:30:59
gradle编译spring
配置gralde 調整gradle的倉庫使用阿里鏡像,在.gradle下創建init.gradle,並輸入以下內容: allprojects { repositories { maven {
小灰灰1234
2020-07-07 21:27:14
HQL学习小结
1 joina 爲相關聯的實體或集合指定一個別名select mate from Cat as cat inner join cat.mate
iteye_19622
2020-07-07 14:48:17
ssh 整合出现的问题
Exception in thread "main" org.springframework.orm.hibernate4.HibernateSys
陈集福
2020-07-07 11:57:18
最新文章
-
Unable to load configuration. - action -
-
java.lang.ClassNotFoundException與java.lang.NoClassDefFoundError
-
Error starting static Resources java.lang.IllegalArgumentException
-
發現eclipse紅叉,查看markers發現Target runtime Apache Tomcat 6.0 is not defined
-
Could not load the Tomcat server configuration at \Servers\Tomcat v7.0 Server at localhost-config