http://struts.apache.org/2.x/docs/simple-setup.html Your can just add minium requirement for your application
The following files are a minium requirement for your application. FilenameDescriptionstruts2-core.jarFramework library itself, found in distribution root directoryxwork.jarXWork 2 library on which Struts 2 is built (version 2.0 or later)ognl.jarObject Graph Navigation Language (OGNL), the expression language used throughout the frameworkfreemarker.jarAll UI tag templates are written in Freemarker (also a good option for your own views)commons-logging.jarCommons logging, which the framework uses to support transparently logging to either Log4J or JDK 1.4+web.xmlJava web application configuration file that defines the filters (and other components) for your web applicationstruts.xmlFramework configuration file that defines the actions, results, and interceptors for your application If any Struts 2 Plugins are included, then other JARs may be needed too. For example, the optional Spring Plugin requires the Spring JARs to be present. On Wed, Dec 24, 2008 at 4:19 PM, Srinivasan KS <kssva...@gmail.com> wrote: > 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 >