spring2+struts2+hibernate3 配置运行出错
2009-01-0915:46:34.05::WARN:failedstruts2Unabletoloadbean:type:class:com.opensymphony...
2009-01-09 15:46:34.05::WARN: failed struts2
Unable to load bean: type: class:com.opensymphony.xwork2.ObjectFactory - bean - jar:file:/C:/Documents%20and%20Settings/ben.liu/.m2/repository/org/apache/struts/struts2-core/2.0.6/struts2-core-2.0.6.jar!/struts-default.xml:8:69
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:208)
Caused by: Bean type class com.opensymphony.xwork2.ObjectFactory with the name xwork has already been loaded by bean - jar:file:/D:/testspace/putty/src/main/webapp/WEB-INF/lib/struts2-core-2.0.6.jar!/struts-default.xml:8:69 - bean - jar:file:/C:/Documents%20and%20Settings/ben.liu/.m2/repository/org/apache/struts/struts2-core/2.0.6/struts2-core-2.0.6.jar!/struts-default.xml:8:69
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:193)
... 46 more
2009-01-09 15:46:34.020::WARN: Failed startup of context org.mortbay.jetty.plugin.Jetty6PluginWebAppContext@cf829d{/putty,D:\testspace\putty\src\main\webapp}
Unable to load bean: type: class:com.opensymphony.xwork2.ObjectFactory - bean - jar:file:/C:/Documents%20and%20Settings/ben.liu/.m2/repository/org/apache/struts/struts2-core/2.0.6/struts2-core-2.0.6.jar!/struts-default.xml:8:69
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:208)
Caused by: Bean type class com.opensymphony.xwork2.ObjectFactory with the name xwork has already been loaded by bean - jar:file:/D:/testspace/putty/src/main/webapp/WEB-INF/lib/struts2-core-2.0.6.jar!/struts-default.xml:8:69 - bean - jar:file:/C:/Documents%20and%20Settings/ben.liu/.m2/repository/org/apache/struts/struts2-core/2.0.6/struts2-core-2.0.6.jar!/struts-default.xml:8:69
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:193) 展开
Unable to load bean: type: class:com.opensymphony.xwork2.ObjectFactory - bean - jar:file:/C:/Documents%20and%20Settings/ben.liu/.m2/repository/org/apache/struts/struts2-core/2.0.6/struts2-core-2.0.6.jar!/struts-default.xml:8:69
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:208)
Caused by: Bean type class com.opensymphony.xwork2.ObjectFactory with the name xwork has already been loaded by bean - jar:file:/D:/testspace/putty/src/main/webapp/WEB-INF/lib/struts2-core-2.0.6.jar!/struts-default.xml:8:69 - bean - jar:file:/C:/Documents%20and%20Settings/ben.liu/.m2/repository/org/apache/struts/struts2-core/2.0.6/struts2-core-2.0.6.jar!/struts-default.xml:8:69
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:193)
... 46 more
2009-01-09 15:46:34.020::WARN: Failed startup of context org.mortbay.jetty.plugin.Jetty6PluginWebAppContext@cf829d{/putty,D:\testspace\putty\src\main\webapp}
Unable to load bean: type: class:com.opensymphony.xwork2.ObjectFactory - bean - jar:file:/C:/Documents%20and%20Settings/ben.liu/.m2/repository/org/apache/struts/struts2-core/2.0.6/struts2-core-2.0.6.jar!/struts-default.xml:8:69
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:208)
Caused by: Bean type class com.opensymphony.xwork2.ObjectFactory with the name xwork has already been loaded by bean - jar:file:/D:/testspace/putty/src/main/webapp/WEB-INF/lib/struts2-core-2.0.6.jar!/struts-default.xml:8:69 - bean - jar:file:/C:/Documents%20and%20Settings/ben.liu/.m2/repository/org/apache/struts/struts2-core/2.0.6/struts2-core-2.0.6.jar!/struts-default.xml:8:69
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:193) 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询