Struts2(使用2.1.6版本)工程部署后,启动tomcat时,出现:
Unable to load configuration. - bean - jar:file:/D:/Program%20Files/tomcat-6.0.10/webapps/S2Demo/WEB-INF/lib/struts2-core-2.1.6.jar!/struts-default.xml:46:178
at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration
at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:360)
at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:403)
.
.
.
查了资料,更换struts2版本为2.1.4(struts2-core-2.0.14.jar),同时将xwork-2.1.2.jar更换为xwork-2.0.7.jar便解决了
在使用Struts2 2.1.6版本时,部署到Tomcat后启动失败,错误提示无法加载配置文件。通过更换Struts2及xwork版本至2.1.4和2.0.7后问题解决。

被折叠的 条评论
为什么被折叠?



