Jason, You have to tell us how you start your Cactus tests. The only reason I can think of is that you're configuring Cactus manually instead of using the provided front ends (<cactus> Ant task, Maven plugin, etc) and you have forgotten to include the aspectjrt jar in your server side classpath.
-Vincent > -----Original Message----- > From: Jason Novotny [mailto:[EMAIL PROTECTED] > Sent: samedi 17 juillet 2004 13:09 > To: Cactus Users List > Subject: Re: aspectj method not found > > > Thanks Vincent, > > I downloaded the latest AspectJ 1.2 and now I get a new stack trace > > java.lang.NoClassDefFoundError: org/aspectj/lang/Signature > java.lang.Class.getDeclaredConstructors0(Native Method) > java.lang.Class.privateGetDeclaredConstructors(Class.java:1610) > java.lang.Class.getConstructor0(Class.java:1922) > java.lang.Class.newInstance0(Class.java:278) > java.lang.Class.newInstance(Class.java:261) > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve. > java:117) > org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:1 > 60) > org.apache.coyote.http11.Http11Processor.process(Http11Processor.jav > a:793) > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proc > essConnection(Http11Protocol.java:702) > org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.jav > a:571) > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Thread > Pool.java:644) > java.lang.Thread.run(Thread.java:552) > > > Maybe I should try 1.1.1? I downloaded the cactus binary for J2EE 1.3 > > Thanks, Jason > > > Vincent Massol wrote: > > >Hi Jason, > > > >Can you try using AspectJ 1.1.1 or greater? We've compiled Cactus with > >AspectJ 1.1.1 which may be the reason for the problem. > > > >Sorry about that. > >-Vincent > > > > > > > >>-----Original Message----- > >>From: Jason Novotny [mailto:[EMAIL PROTECTED] > >>Sent: samedi 17 juillet 2004 12:34 > >>To: [EMAIL PROTECTED] > >>Subject: aspectj method not found > >> > >> > >>Hi, > >> > >> I was updating our code to use cactus from over a year ago to cactus > >>1.6.1 out now. It seems mostly straightforward, however, my > >>runservertests hangs and I looked at the FAQ entry which was still not > >>too helpful. Just starting the server by hand and trying myself in the > >>web browser to invoke the ServletTestRedirector gave me this 500 stack > >>trace: > >> > >>----- Root Cause ----- > >>java.lang.NoSuchMethodError: > >>org.aspectj.runtime.reflect.Factory.makeSJP(Ljava/lang/String;Lorg/aspec > tj > >>/lang/Signature;I)Lorg/aspectj/lang/JoinPoint$StaticPart; > >> > >> I made sure to copy over aspectjrt-1.0.5.jar, cactus-1.6.1.jar over > >>to my Tomcat server dir as I had before..... any ideas? > >> > >> Thanks, Jason > >> > >> > >>--------------------------------------------------------------------- > >>To unsubscribe, e-mail: [EMAIL PROTECTED] > >>For additional commands, e-mail: [EMAIL PROTECTED] > >> > >> > > > > > > > >--------------------------------------------------------------------- > >To unsubscribe, e-mail: [EMAIL PROTECTED] > >For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
