I've seen this happen when there's duplicate Struts 2.x JARs in your
classpath. If this is not the case, maybe you have a single
application/JAR that's been registered twice?

Matt

On 7/18/07, -=j=- <[EMAIL PROTECTED]> wrote:
On Tue, 2007-07-17 at 21:24 -0700, Matt Raible wrote:
> It looks like you still have a struts-2.0.6 JAR in your classpath.
> Maybe you need to run "mvn clean package"?
> Matt
---------------------------------------------------------
Well, it's something like that but I submitted that error stack trace by
memory and using a similar problem of another user.  It looks like the
same sort of error, either a duplication of declarations somewhere or a
jar being loaded twice or something like that.

So does this mean that the class in question really has been loaded
previously?  Is it the class:com.opensymphony.xwork2.ObjectFactory or
the org.apache.struts2.dispatcher.FilterDispatcher that's being loaded
twice?  My initial thought was that it was the FilterDispatcher, is that
correct?

Thanks Matt...

Here's the real stack trace, now that I can get to it:

<Jul 17, 2007 6:23:54 PM EDT> <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:/GFS/bea/user_projects/domains/cildomai
n/./servers/AdminServer/tmp/_WL_user/CIL/ja8al6/war/WEB-INF/lib/struts2-core-2.0.8.jar!/struts-default.xml:8: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 - jar:file:/C:/GFS/
bea/user_projects/domains/cildomain/./lib/struts2-core-2.0.8.jar!/struts-default.xml:8:72
 - bean - zip:C:/GFS/bea/user_projec
ts/domains/cildomain/./servers/AdminServer/tmp/_WL_user/CIL/ja8al6/war/WEB-INF/lib/struts2-core-2.0.8.jar!/struts-default.xml
:8: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





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
http://raibledesigns.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to