Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ajdt-dev] java.lang.NoSuchMethodError: makeMethodSig when using thisJoinPoint

That happens when you pick up an old version of aspectjrt.jar from
somewhere when you execute the application.  During AspectJ 1.5.0
development we modified makeMethodSig() to be more efficient and you
are using the new compiler that puts in the correct calls but don't
have the right aspectjrt.jar around when you run it, so it can't find
the new version of Factory.makeMethodSig().  It may be on your
classpath or it may be in the JVM standard extensions directory -
check both places for the old one and replace it.

Andy.

On 08/11/05, Chris Fellows <cfellows@xxxxxxxxxxxxxx> wrote:
>
>
>
> Hello,
>
>
>
> When trying to run a main method woven with advice using thisJoinPoint,
> eclipse is terminating with:
>
>
>
> java.lang.NoSuchMethodError:
> org.aspectj.runtime.reflect.Factory.makeMethodSig(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lorg/aspectj/lang/reflect/MethodSignature;
>
>       at ExampleMain.<clinit>(ExampleMain.java:1)
>
> Exception in thread "main"
>
>
>
>
>
> Using JBoss-IDE 1.5 RC1 (not sure if I should post this to jboss-ide dev
> list) with Eclipse 3.1. Is this a known bug? Updating to latest AJDT from
> dev branch did not solve the problem.
>
>
>
> Thanks for any insights,
>
>
>
> Chris
>
>
> _______________________________________________
> ajdt-dev mailing list
> ajdt-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/ajdt-dev
>
>
>


Back to the top