This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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
 
Don't get me started about those stupid light bulbs.
 
subject: Bean type class com.opensymphony.xwork2.ObjectFactory with the name xwork has already been loaded
 
Similar Threads
Deploy Struts2 blank application on JBoss 5
struts2 error
unable to find out filter in web.xml
Error in Struts2 application
Struts 2 error (first struts 2 application)