struts2 框架 问题

Exceptionstartingfilterstruts2

Unabletoloadconfiguration.-bean-jar:file:/D:/javaProgramFiles/tomcat-6.0.20/webapps/zoyeoa/WEB-INF/lib/struts2-core-2.1.2.jar!/struts-default.xml:46:178

atcom.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:58)

atorg.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:371)

atorg.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:424)

atorg.apache.struts2.dispatcher.FilterDispatcher.init(FilterDispatcher.java:213)

atorg.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:275)

atorg.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397)

atorg.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:108)

atorg.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3800)

atorg.apache.catalina.core.StandardContext.start(StandardContext.java:4450)

解决方法:竟然是先导入struts2的jar包,然后再导入spring的包

相关推荐