配置STRUTS2出错,高手来帮忙,多谢
2010-5-1015:55:30com.opensymphony.xwork2.util.logging.commons.CommonsLoggererror严重:Di...
2010-5-10 15:55:30 com.opensymphony.xwork2.util.logging.commons.CommonsLogger error
严重: Dispatcher initialization failed
Unable to load configuration. - bean - jar:file:/D:/server/Tomcat%205.5/webapps/TestStruts2/WEB-INF/lib/struts2-core-2.1.8.jar!/struts-default.xml:47:178
at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:58)
......
Caused by: Unable to load bean: type:org.apache.struts2.dispatcher.multipart.MultiPartRequest class:org.apache.struts2.dispatcher.multipart.JakartaMultiPartRequest - bean - jar:file:/D:/server/Tomcat%205.5/webapps/TestStruts2/WEB-INF/lib/struts2-core-2.1.8.jar!/struts-default.xml:47:178
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:221)
......
Caused by: java.lang.NoClassDefFoundError: org/apache/commons/fileupload/RequestContext
......
2010-5-10 15:55:30 org.apache.catalina.core.StandardContext filterStart
严重: Exception starting filter struts2
Unable to load configuration. - bean - jar:file:/D:/server/Tomcat%205.5/webapps/TestStruts2/WEB-INF/lib/struts2-core-2.1.8.jar!/struts-default.xml:47:178
......
Caused by: Unable to load configuration. - bean - jar:file:/D:/server/Tomcat%205.5/webapps/TestStruts2/WEB-INF/lib/struts2-core-2.1.8.jar!/struts-default.xml:47:178
......
Caused by: Unable to load bean: type:org.apache.struts2.dispatcher.multipart.MultiPartRequest class:org.apache.struts2.dispatcher.multipart.JakartaMultiPartRequest - bean - jar:file:/D:/server/Tomcat%205.5/webapps/TestStruts2/WEB-INF/lib/struts2-core-2.1.8.jar!/struts-default.xml:47:178
......
Caused by: java.lang.NoClassDefFoundError: org/apache/commons/fileupload/RequestContext
......
2010-5-10 15:55:30 org.apache.catalina.core.StandardContext start
严重: Error filterStart
2010-5-10 15:55:30 org.apache.catalina.core.StandardContext start
严重: Context [/TestStruts2] startup failed due to previous errors
2010-5-10 15:55:30 org.apache.catalina.core.ApplicationContext log 展开
严重: Dispatcher initialization failed
Unable to load configuration. - bean - jar:file:/D:/server/Tomcat%205.5/webapps/TestStruts2/WEB-INF/lib/struts2-core-2.1.8.jar!/struts-default.xml:47:178
at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:58)
......
Caused by: Unable to load bean: type:org.apache.struts2.dispatcher.multipart.MultiPartRequest class:org.apache.struts2.dispatcher.multipart.JakartaMultiPartRequest - bean - jar:file:/D:/server/Tomcat%205.5/webapps/TestStruts2/WEB-INF/lib/struts2-core-2.1.8.jar!/struts-default.xml:47:178
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:221)
......
Caused by: java.lang.NoClassDefFoundError: org/apache/commons/fileupload/RequestContext
......
2010-5-10 15:55:30 org.apache.catalina.core.StandardContext filterStart
严重: Exception starting filter struts2
Unable to load configuration. - bean - jar:file:/D:/server/Tomcat%205.5/webapps/TestStruts2/WEB-INF/lib/struts2-core-2.1.8.jar!/struts-default.xml:47:178
......
Caused by: Unable to load configuration. - bean - jar:file:/D:/server/Tomcat%205.5/webapps/TestStruts2/WEB-INF/lib/struts2-core-2.1.8.jar!/struts-default.xml:47:178
......
Caused by: Unable to load bean: type:org.apache.struts2.dispatcher.multipart.MultiPartRequest class:org.apache.struts2.dispatcher.multipart.JakartaMultiPartRequest - bean - jar:file:/D:/server/Tomcat%205.5/webapps/TestStruts2/WEB-INF/lib/struts2-core-2.1.8.jar!/struts-default.xml:47:178
......
Caused by: java.lang.NoClassDefFoundError: org/apache/commons/fileupload/RequestContext
......
2010-5-10 15:55:30 org.apache.catalina.core.StandardContext start
严重: Error filterStart
2010-5-10 15:55:30 org.apache.catalina.core.StandardContext start
严重: Context [/TestStruts2] startup failed due to previous errors
2010-5-10 15:55:30 org.apache.catalina.core.ApplicationContext log 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询