It *is* included in the web-app directory. The problem is that there's *also* an S2 library in the Tomcat lib directory, where there shouldn't be one.
Remove the old library from the tomcat lib directory. Dave On Thu, Jun 7, 2012 at 10:40 AM, CyberCom <[email protected]> wrote: > com.opensymphony.xwork2.**ObjectFactory with the name xwork has >> already been loaded by bean - >> jar:file://apache-tomcat-6.0.**29/lib/struts2-core-2.0.11.**jar! >> /struts-default.xml:30:72 - bean - >> jar:file://apache-tomcat-6.0.**29/webapps/VFS/WEB-INF/lib/ >> struts2-core-2.2.3.1.jar!/**struts-default.xml:29:72 >> > > This looks to me like you have include to struts-core.jar files in webapp > lib directory. > Tomcat does not delete files when you redeploy applications. When you > redeploy your webapp with a new struts version you need to make sure that > you remove the old version before. > > Pascal > > > On 6/7/12, Dave Newton <[email protected]> wrote: >> >>> Is that the *only* information available in the logs? >>> >>> Dave >>> >>> On Thu, Jun 7, 2012 at 10:01 AM, vivek mishra >>> <[email protected]>**wrote: >>> >>> Hi Folks, >>>> >>>> While setting up new project using struts2, I am facing this error : >>>> >>>> Unable to load configuration. - bean - >>>> jar:file:/E:/sp639u/apache-**tomcat-6.0. >>>> >>>> >>>> 29/webapps/VFS/WEB-INF/lib/**struts2-core-2.2.3.1.jar!/** >>>> struts-default.xml:29:72 >>>> >>>> I googled it as well but couldn't find any solution. I has setup >>>> struts2 projects earlier as well but didn't face any such issue. >>>> >>>> I am stuck on this, any pointer will be much appreciated in this regard. >>>> >>>> Thanks! >>>> -- >>>> Vivek >>>> >>>> >>>> ------------------------------**------------------------------** >>>> --------- >>>> To unsubscribe, e-mail: >>>> user-unsubscribe@struts.**apache.org<[email protected]> >>>> For additional commands, e-mail: [email protected] >>>> >>>> >>>> >>> >> ------------------------------**------------------------------**--------- >> To unsubscribe, e-mail: >> user-unsubscribe@struts.**apache.org<[email protected]> >> For additional commands, e-mail: [email protected] >> > > > ------------------------------**------------------------------**--------- > To unsubscribe, e-mail: > user-unsubscribe@struts.**apache.org<[email protected]> > For additional commands, e-mail: [email protected] > >

