Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes JBoss/WildFly and the fly likes Bean type class com.opensymphony.xwork2.ObjectFactory with the name xwork has already been loaded Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Bean type class com.opensymphony.xwork2.ObjectFactory with the name xwork has already been loaded" Watch "Bean type class com.opensymphony.xwork2.ObjectFactory with the name xwork has already been loaded" New topic
Author

Bean type class com.opensymphony.xwork2.ObjectFactory with the name xwork has already been loaded

Anudeep Kowluru
Greenhorn

Joined: Aug 23, 2012
Posts: 1
Please help...


Unable to load configuration. - bean - vfszip:/C:/jboss-5.1.0.GA/server/default/deploy/FADev.war/WEB-INF/lib/struts2-core-2.1.8.1.jar/struts-default.xml:29:72
at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:58)
at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:374).........

Caused by: Unable to load bean: type: class:com.opensymphony.xwork2.ObjectFactory - bean - vfszip:/C:/jboss-5.1.0.GA/server/default/deploy/FADev.war/WEB-INF/lib/struts2-core-2.1.8.1.jar/struts-default.xml:29:72
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:221)
at org.apache.struts2.config.StrutsXmlConfigurationProvider.register(StrutsXmlConfigurationProvider.java:101)
at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:169)
at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:55)
... 75 more

Caused by: Bean type class com.opensymphony.xwork2.ObjectFactory with the name xwork has already been loaded by bean - vfszip:/C:/jboss-5.1.0.GA/server/default/deploy/FATesting.war/WEB-INF/lib/struts2-core-2.1.8.1.jar/struts-default.xml:29:72 - bean - vfszip:/C:/jboss-5.1.0.GA/server/default/deploy/FADev.war/WEB-INF/lib/struts2-core-2.1.8.1.jar/struts-default.xml:29:72
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:205)
... 78 more





Unable to load configuration. - bean - vfszip:/C:/jboss-5.1.0.GA/server/default/deploy/FADev.war/WEB-INF/lib/struts2-core-2.1.8.1.jar/struts-default.xml:29:72

Caused by: Unable to load configuration. - bean - vfszip:/C:/jboss-5.1.0.GA/server/default/deploy/FADev.war/WEB-INF/lib/struts2-core-2.1.8.1.jar/struts-default.xml:29:72
at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:58)
at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:374)
at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:418)
... 73 more
Caused by: Unable to load bean: type: class:com.opensymphony.xwork2.ObjectFactory - bean - vfszip:/C:/jboss-5.1.0.GA/server/default/deploy/FADev.war/WEB-INF/lib/struts2-core-2.1.8.1.jar/struts-default.xml:29:72
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:221)
at org.apache.struts2.config.StrutsXmlConfigurationProvider.register(StrutsXmlConfigurationProvider.java:101)
at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:169)
at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:55)
... 75 more
 
Have you checked out Aspose?
 
subject: Bean type class com.opensymphony.xwork2.ObjectFactory with the name xwork has already been loaded
 
It's not a secret anymore!