原文: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