错误信息:
com.opensymphony.xwork2.util.logging.commons.CommonsLogger error
严重: Dispatcher initialization failed
Unable to load configuration. - Class: java.net.URL
File: URL.java
Method:
Line: 601 - java/net/URL.java:601:-1
at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:69)
at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:390)
at
.....
引用:
asm-3.3.1.jar
commons-lang-2.6-javadoc.jar
commons-lang-2.6-sources.jar
commons-lang-2.6.jar
velocity-1.5.jar
velocity-1.6.2-dep.jar
velocity-tools-1.3.jar
commons-logging-api-1.1.jar
commons-fileupload.jar
commons-io.jar
freemarker-2.3.15.jar
ognl-3.0.4.jar
asm-commons-3.1.jar
spring.jar
testng-5.8-jdk15.jar
src下面除了struts2的源码外,还有
struts-default.xml
struts.xml
struts-default.xml是从别的项目中copy来的
struts.xml