使用maven2时遇到问题
struts2报错:
Failed startup of context org.mortbay.jetty.webapp.WebAppContext@1aaa14a{/xun,src/main/webapp}
Unable to load configuration. - bean - jar:file:/F:/xun/src/main/webapp/WEB-INF/lib/struts2-core-2.1.8.jar!/struts-default.xml:29:72
Caused by: Bean type class com.opensymphony.xwork2.ObjectFactory with the name xwork has already been loaded by bean - jar:file:/F:/Repository/org/apache/struts/struts2-core/2.1.8/struts2-core-2.1.8.jar!/struts-default.xml:29:72 - bean - jar:file:/F:/xun/src/main/webapp/WEB-INF/lib/struts2-core-2.1.8.jar!/struts-default.xml:29:72
slf4j警告:
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/F:/Repository/org/slf4j/slf4j-log4j12/1.5.11/slf4j-log4j12-1.5.11.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/F:/xun/src/main/webapp/WEB-INF/lib/slf4j-log4j12-1.5.11.jar!/org/slf4j/impl/StaticLoggerBinder.class]
看log好像是maven把这两个配置文件载入了两次,弄了好久也不知道怎么解决。。。