there must be a translation problem here.. put your struts-core .jar ON the classpath e.g.
SET CLASSPATH=struts2-core-<version>.jar;$CLASSPATH export CLASSPATH ? Martin Gainty ______________________________________________ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen. Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > Date: Mon, 17 May 2010 16:03:23 -0400 > From: em...@encs.concordia.ca > To: user@struts.apache.org > CC: hgonza...@gmail.com > Subject: Re: "java.lang.NoClassDefFoundError: > org/apache/struts2/util/ObjectFactoryDestroyable" > > > > Are you placing your struts jars in the tomcat lib directory ? > > No. > > jar files are saved under webapp/WEB-INF/lib/ directory. > > > > If so, try removing from there and placing them inside the war (web > > application) > > I do not use war to deploy the web application. I am using ant to > install complied codes. > > > Tried may online docs, still did not find any solution. The confusing > part for me is that: > > I do not make any changes, just restart tomcat6, everything works fine. > Otherwise, got "org/apache/struts2/util/ObjectFactoryDestroyable" error. > > Thanks a lot! > -- > Lu Ying > > > > > > > > > On Mon, May 17, 2010 at 4:16 PM, Emi Lu<em...@encs.concordia.ca> wrote: > >> The most similar question I could find is: > >> > >> https://issues.apache.org/jira/browse/WW-2921 > >> > >> But did not find any solutions? > >> > >> Someone knows the solution? > >> > >> Thanks a lot! > >> -- > >> Lu Ying > >> > >> > >> > >> > >> > >> On 05/17/2010 02:50 PM, Emi Lu wrote: > >>> > >>> Hi Rebecca, Martin, > >>> > >>>> Could you be having something going crazy with your build scripts or > >>>> something where the struts core jar isn't getting put in the right spot? > >>> > >>> > >>> >> check to see if struts2-core-<version>.jar is located in > >>> YourWebApp/WEB-INF/lib > >>> > >>> Yes. it is there. > >>> > >>> Tomcat 6.0, jdk1.6, ant-1.6.2. > >>> > >>> If I restart tomcat, the error is gone. > >>> > >>> The error is shown only when I re-install source codes and did not > >>> reload tomcat. > >>> > >>> Some possible places that I should pay special attention? I am using ant > >>> 1.6.2. Could this cause some potential problems? How come restart > >>> tomcat, errors are gone? > >>> > >>> Thanks a lot! > >>> -- > >>> Lu Ying > >>> > >>> > >>> > >>>> > >>>> > >>>> ----- Original Message ---- > >>>> From: Emi Lu<em...@encs.concordia.ca> > >>>> To: user@struts.apache.org > >>>> Sent: Mon, May 17, 2010 10:48:38 AM > >>>> Subject: "java.lang.NoClassDefFoundError: > >>>> org/apache/struts2/util/ObjectFactoryDestroyable" > >>>> > >>>> Good morning List, > >>>> > >>>> Using struts2.1.8.1, when I reinstall my application, I always got the > >>>> following errors "java.lang.NoClassDefFoundError: > >>>> org/apache/struts2/util/ObjectFactoryDestroyable" > >>>> > >>>> But in struts.jar does contain this class. > >>>> > >>>> Could someone help and tell me what cause the problem? > >>>> > >>>> Thanks a lot > >>>> -- > >>>> Lu Ying > >>>> > >>>> > >>>> > >>>> > >>>> SEVERE: Exception invoking periodic operation: > >>>> java.lang.NoClassDefFoundError: > >>>> org/apache/struts2/util/ObjectFactoryDestroyable > >>>> at org.apache.struts2.dispatcher.Dispatcher.cleanup(Dispatcher.java:265) > >>>> at > >>>> > >>>> org.apache.struts2.dispatcher.FilterDispatcher.destroy(FilterDispatcher.java:233) > >>>> > >>>> at > >>>> > >>>> org.apache.catalina.core.ApplicationFilterConfig.release(ApplicationFilterConfig.java:357) > >>>> > >>>> at > >>>> > >>>> org.apache.catalina.core.StandardContext.filterStop(StandardContext.java:3873) > >>>> > >>>> at > >>>> org.apache.catalina.core.StandardContext.stop(StandardContext.java:4605) > >>>> at > >>>> > >>>> org.apache.catalina.core.StandardContext.reload(StandardContext.java:3222) > >>>> > >>>> at > >>>> > >>>> org.apache.catalina.loader.WebappLoader.backgroundProcess(WebappLoader.java:403) > >>>> > >>>> at > >>>> > >>>> org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1309) > >>>> > >>>> at > >>>> > >>>> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1601) > >>>> > >>>> at > >>>> > >>>> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610) > >>>> > >>>> at > >>>> > >>>> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610) > >>>> > >>>> at > >>>> > >>>> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1590) > >>>> > >>>> at java.lang.Thread.run(Thread.java:619) > >>>> > >>>> --------------------------------------------------------------------- > >>>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > >>>> For additional commands, e-mail: user-h...@struts.apache.org > >>>> > >>>> > >>>> > >>> > >>> > >>> --------------------------------------------------------------------- > >>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > >>> For additional commands, e-mail: user-h...@struts.apache.org > >> > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > >> For additional commands, e-mail: user-h...@struts.apache.org > >> > >> > > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > _________________________________________________________________ The New Busy is not the old busy. Search, chat and e-mail from your inbox. http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_3