在容器中运行 Web 应用程序时,我遇到了这个错误。期待在解决此问题的正确方向上有所帮助。
造成的:
Bean type class com.opensymphony.xwork2.ObjectFactory with the name xwork has already been loaded by bean - bundleresource://16756.fwk1755001097:42/struts-default.xml:29:72 - bean - jar:file:/C:/XXX/XXX/configuration/org.eclipse.osgi/bundles/16756/29/bundlefile/WEB-INF/lib/struts2-core-2.2.1.1.jar!/struts-default.xml:29:72
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:205)
... 107 more