Dispatcher initialization failed

来源:互联网 发布:工业英语电子词典软件 编辑:程序博客网 时间:2024/05/20 19:48
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下的删了就好了

0 0