You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by srinivasa varanasi <sr...@sify.com> on 2008/06/16 21:04:58 UTC
sorry Re: Unable to load bean: type: class:com.opensymphony.xwork2.ObjectFactory - bean
I am sorry for this I was little furstrated with this error since morning ..
even I did the same but still same error
jhkiley@summa-tech.com:
> It's possible that just dumping a 150-line stack trace to a mailing list,
without so much as a "please help me," isn't the most effective way to
request help.
Anyway, your problem is actually quite clear if you read the stack trace:
Caused by: Bean type class com.opensymphony.xwork2.ObjectFactory with the
name xwork has already been loaded by bean -
jar:file:/C:/Apache%20Software%20Foundation/Tomcat%205.5/common/lib/struts2-core-2.0.6.jar!/struts-default.xml:8:69
- bean -
jar:file:/C:/Apache%20Software%20Foundation/Tomcat%205.5/shared/lib/struts2-core-2.0.6.jar!/struts-default.xml:8:69
You have a copy of struts2-core-2.06.jar in both your "common" and "shared"
directories. Remove it from one of them.
jk
On Mon, Jun 16, 2008 at 2:21 PM, srinivasa varanasi <sr...@sify.com>
wrote:
> Jun 15, 2008 10:32:46 PM org.apache.catalina.core.StandardContext
> filterStart
> SEVERE: Exception starting filter struts2
> Unable to load bean: type: class:com.opensymphony.xwork2.ObjectFactory -
> bean - jar:file:/C:/Apache Software Foundation/Tomcat
> 5.5/shared/lib/struts2-core-2.0.6.jar!/struts-default.xml:8:69
>
[snip]
> ... 33 more
>
--
Jim Kiley
Technical Consultant | Summa
[p] 412.258.3346 [m] 412.445.1729
http://www.summa-tech.com