hi,
I am trying to run the struts2 sample application. I am using Jdeveloper 11g
IDE with weblogic server.

I am getting this error, when I am running the application.

<Dec 24, 2008 10:59:38 AM AST> <Error> <HTTP> <BEA-101165> <Could not load
user defined filter in web.xml:
org.apache.struts2.dispatcher.FilterDispatcher.
Unable to load bean: type: class:com.opensymphony.xwork2.ObjectFactory -
bean -
zip:C:/oracle/Middleware/jdeveloper/system/system11.1.1.0.31.51.88/DefaultDomain/servers/DefaultServer/tmp/_WL_user/ts1/m52x67/war/WEB-INF/lib/struts2-core-2.0.14.jar!/struts-default.xml:30:72
 at
com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:208)
 at
org.apache.struts2.config.StrutsXmlConfigurationProvider.register(StrutsXmlConfigurationProvider.java:101)
 at
com.opensymphony.xwork2.config.impl.DefaultConfiguration.reload(DefaultConfiguration.java:131)
 at
com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:52)
 at
org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:395)
 Truncated. see log file for complete stacktrace
Bean type class com.opensymphony.xwork2.ObjectFactory with the name xwork
has already been loaded by bean -
zip:D:/srini-personal/struts-2.0.1.4-sample-blank/strutsblank/public_html/WEB-INF/lib/struts2-core-2.0.14.jar!/struts-default.xml:30:72
- bean -
zip:C:/oracle/Middleware/jdeveloper/system/system11.1.1.0.31.51.88/DefaultDomain/servers/DefaultServer/tmp/_WL_user/ts1/m52x67/war/WEB-INF/lib/struts2-core-2.0.14.jar!/struts-default.xml:30:72
 at
com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:193)
 at
org.apache.struts2.config.StrutsXmlConfigurationProvider.register(StrutsXmlConfigurationProvider.java:101)
 at
com.opensymphony.xwork2.config.impl.DefaultConfiguration.reload(DefaultConfiguration.java:131)
 at
com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:52)
 at
org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:395)
 Truncated. see log file for complete stacktrace
Kindly let me know the reason for this.

Thanks.

Srinivasan

Reply via email to