Hey people,

I've just created a new standard "dynamic web project" using eclipse ,
added the struts2 libs and configured a standard mapping in web.xml

When i try to run my web app on a standard tomcat 6.0 I get this error,
and I have not the slightest iIdea of what could be the reason. Please help:

Exception starting filter action2

Unable to load configuration. - bean -
jar:file:/Users/kortheo/Projekte/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/kptool/WEB-INF/lib/struts2-convention-plugin-2.1.6.jar!/struts-plugin.xml:30:119
   at
com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:58)
   at
org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:360)
   at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:403)
   at
org.apache.struts2.dispatcher.FilterDispatcher.init(FilterDispatcher.java:190)
   at
org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:275)
   at
org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397)
   at
org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:108)
   at
org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3709)
   at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4363)
   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
   at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
   at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
   at
org.apache.catalina.core.StandardService.start(StandardService.java:516)
   at
org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
   at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:585)
   at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Caused by: Unable to load bean:
type:com.opensymphony.xwork2.UnknownHandler
class:org.apache.struts2.convention.ConventionUnknownHandler - bean -
jar:file:/Users/kortheo/Projekte/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/kptool/WEB-INF/lib/struts2-convention-plugin-2.1.6.jar!/struts-plugin.xml:30:119
   at
com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:222)
   at
org.apache.struts2.config.StrutsXmlConfigurationProvider.register(StrutsXmlConfigurationProvider.java:101)
   at
com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:165)
   at
com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:55)
   ... 21 more
Caused by: Bean type interface com.opensymphony.xwork2.UnknownHandler
with the name default has already been loaded by bean -
jar:file:/Users/kortheo/Projekte/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/kptool/WEB-INF/lib/struts2-codebehind-plugin-2.1.6.jar!/struts-plugin.xml:29:122
- bean -
jar:file:/Users/kortheo/Projekte/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/kptool/WEB-INF/lib/struts2-convention-plugin-2.1.6.jar!/struts-plugin.xml:30:119
   at
com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:206)
   ... 24 more


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to