struts2 访问action时总是404错误
信息:Parsingconfigurationfile[struts-default.xml]2009-4-183:39:13org.apache.catalina.co...
信息: Parsing configuration file [struts-default.xml]
2009-4-18 3:39:13 org.apache.catalina.core.StandardContext filterStart
严重: Exception starting filter struts2
Unable to load bean: type: class:com.opensymphony.xwork2.ObjectFactory - bean - jar:file:/D:/tomcat6/webapps/purchase/WEB-INF/lib/struts2-core-2.1.6.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:/D:/tomcat6/webapps/purchase/WEB-INF/lib/struts2-core-2.0.6.jar!/struts-default.xml:8:69 - bean - jar:file:/D:/tomcat6/webapps/purchase/WEB-INF/lib/struts2-core-2.1.6.jar!/struts-default.xml:29:72
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:194)
... 33 more
2009-4-18 3:39:13 org.apache.catalina.core.StandardContext start
严重: Error filterStart
2009-4-18 3:39:13 org.apache.catalina.core.StandardContext start
严重: Context [/purchase] startup failed due to previous errors
2009-4-18 3:39:14 com.opensymphony.xwork2.util.ObjectTypeDeterminerFactory <clinit>
2009-4-18 3:39:47 org.apache.catalina.core.StandardContext stop
信息: Container org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/purchase] has not been started
2009-4-18 3:39:49 com.opensymphony.xwork2.config.providers.XmlConfigurationProvider register
信息: Parsing configuration file [struts-default.xml]
2009-4-18 3:39:49 org.apache.catalina.core.StandardContext filterStart
严重: Exception starting filter struts2
Unable to load bean: type: class:com.opensymphony.xwork2.ObjectFactory - bean - jar:file:/D:/tomcat6/webapps/purchase/WEB-INF/lib/struts2-core-2.1.6.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:/D:/tomcat6/webapps/purchase/WEB-INF/lib/struts2-core-2.0.6.jar!/struts-default.xml:8:69 - bean - jar:file:/D:/tomcat6/webapps/purchase/WEB-INF/lib/struts2-core-2.1.6.jar!/struts-default.xml:29:72
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:194)
... 20 more
2009-4-18 3:39:49 org.apache.catalina.core.StandardContext start
严重: Error filterStart
2009-4-18 3:39:49 org.apache.catalina.core.StandardContext start
严重: Context [/purchase] startup failed due to previous errors
2009-4-18 3:39:49 com.opensymphony.xwork2.util.ObjectTypeDeterminerFactory <clinit>
信息: Detected GenericsObjectTypeDeterminer, initializing it...
2009-4-18 3:39:49 com.opensymphony.xwork2.util.XWorkConverter getInstance 展开
2009-4-18 3:39:13 org.apache.catalina.core.StandardContext filterStart
严重: Exception starting filter struts2
Unable to load bean: type: class:com.opensymphony.xwork2.ObjectFactory - bean - jar:file:/D:/tomcat6/webapps/purchase/WEB-INF/lib/struts2-core-2.1.6.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:/D:/tomcat6/webapps/purchase/WEB-INF/lib/struts2-core-2.0.6.jar!/struts-default.xml:8:69 - bean - jar:file:/D:/tomcat6/webapps/purchase/WEB-INF/lib/struts2-core-2.1.6.jar!/struts-default.xml:29:72
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:194)
... 33 more
2009-4-18 3:39:13 org.apache.catalina.core.StandardContext start
严重: Error filterStart
2009-4-18 3:39:13 org.apache.catalina.core.StandardContext start
严重: Context [/purchase] startup failed due to previous errors
2009-4-18 3:39:14 com.opensymphony.xwork2.util.ObjectTypeDeterminerFactory <clinit>
2009-4-18 3:39:47 org.apache.catalina.core.StandardContext stop
信息: Container org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/purchase] has not been started
2009-4-18 3:39:49 com.opensymphony.xwork2.config.providers.XmlConfigurationProvider register
信息: Parsing configuration file [struts-default.xml]
2009-4-18 3:39:49 org.apache.catalina.core.StandardContext filterStart
严重: Exception starting filter struts2
Unable to load bean: type: class:com.opensymphony.xwork2.ObjectFactory - bean - jar:file:/D:/tomcat6/webapps/purchase/WEB-INF/lib/struts2-core-2.1.6.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:/D:/tomcat6/webapps/purchase/WEB-INF/lib/struts2-core-2.0.6.jar!/struts-default.xml:8:69 - bean - jar:file:/D:/tomcat6/webapps/purchase/WEB-INF/lib/struts2-core-2.1.6.jar!/struts-default.xml:29:72
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:194)
... 20 more
2009-4-18 3:39:49 org.apache.catalina.core.StandardContext start
严重: Error filterStart
2009-4-18 3:39:49 org.apache.catalina.core.StandardContext start
严重: Context [/purchase] startup failed due to previous errors
2009-4-18 3:39:49 com.opensymphony.xwork2.util.ObjectTypeDeterminerFactory <clinit>
信息: Detected GenericsObjectTypeDeterminer, initializing it...
2009-4-18 3:39:49 com.opensymphony.xwork2.util.XWorkConverter getInstance 展开
展开全部
Unable to load bean: type: class:com.opensymphony.xwork2.ObjectFactory - bean - jar:file:/D:/tomcat6/webapps/purchase/WEB-INF/lib/struts2-core-2.1.6.jar!/struts-default.xml:29:72
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
是你的struts文件配置错误.
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
没代码怎么看
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询