原文:Caused by: Unable to load configuration. - action - file:/C:/apache-tomcat-7.0.70/webapps/Structs/WEB-INF/classes/struts.xml:7:72 at com.opensymphony.xwork2.config.ConfigurationManager.getConfigurati

Unable to load configuration. action file: C: apache tomcat . . webapps Structs WEB INF classes struts.xml: : at org.apache.struts .dispatcher.Dispatcher.init Dispatcher.java: at org.apache.struts .di ...

2016-10-13 11:51 0 2309 推荐指数:

查看详情

Unable to load configuration. - action - file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%209.0/webapps/Teacher04/WEB-INF/classes

发布一个struts2项目的时候tomcat显示下面这个错误,我的本能感觉就是我的struts.xml或者web.xml写错了,可是我字母找都没发现,于是百度一番,可是我对那些人的回答表示怀疑,感觉应该不行,直到我一直找下去,发现一个不起眼的回答说出了我需要的回答 我回来一看,发现我的错误里 ...

Sat Mar 18 01:29:00 CST 2017 0 2075
com.opensymphony.xwork2.config.ConfigurationManager.addConfigurationProvider

开始还以为是包冲突,到处找jar包。 搞不好久没有解决,后来无意间看了一下配置,(当时想知道,谁启动的它)就看了一下web.xml 感觉这个配置怪怪了,就注解了,后来就ok了。 实际项目里用的spring mvc, 而且这个是过滤jsp的,还标为struts ...

Mon Feb 01 01:15:00 CST 2016 0 2158
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM