Dispatcher initialization failed

ERROR[org.apache.struts2.dispatcher.Dispatcher]-Dispatcher initialization failed

 Unable to load configuration. - bean - jar:file:/G:/Eclipse/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/higouGuo/WEB-INF/lib/struts2-core-2.3.24.1.jar!/struts-default.xml:57:72

Bean type class com.opensymphony.xwork2.ObjectFactory with the name struts has already been loaded by bean

经检查是是因为Maven Dependencies下和WebRoot下WEB-INF下的lib有重复的jar包sturts2-core!!!

把lib下的删了就好了

你可能感兴趣的:(J2EE)