Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Anudeep Kowluru
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic