Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] can't find type org.aspectj.lang.annotation.Before

this last one obviously means that the Fractal component did not
planned for handling AspectJ custom bytecode attribute properly such
as org.aspectj.weaver.MethodDeclarationLineNumber
(I am fluent in ASM that Fractal is using as I can see).

So you should now direct the question to Fractal folks - knowing that
ajc compiled or ajc/ltw weaved bytecode contains custom bytecode
attribute.

Alex

On 8/18/05, Valerio Schiavoni <ervalerio@xxxxxxxxxx> wrote:
> i added that one in the classpath used by junit inside eclipse
> and i don't get those errors anymore.
> 
> i have others now i'm not sure if they're related to aspectj ...
> 
> InstantiationException: Cannot create the bootstrap component
> InstantiationException: Cannot load the specific InitializationContext
> sub class needed to create the component
> java.lang.IllegalArgumentException: Unknown attribute type:
> org.aspectj.weaver.MethodDeclarationLineNumber
>     at org.objectweb.asm.Attribute.a(Unknown Source)
>     at org.objectweb.asm.MethodWriter.a(Unknown Source)
>     at org.objectweb.asm.ClassWriter.toByteArray(Unknown Source)
>     at
> org.objectweb.fractal.julia.asm.MixinClassGenerator.generateClass(MixinClassGenerator.java:365)
>     at
> org.objectweb.fractal.julia.loader.DynamicLoader.generateClass(DynamicLoader.java:107)
>     at
> org.objectweb.fractal.julia.loader.BasicLoader.loadClass(BasicLoader.java:267)
> 
> nice one eh ?....
> 
> 
> Alexandre Vasseur ha scritto:
> 
> >this sounds to be another classpath issue on your setup
> >org.aspectj.lang.annotation.Before is in aspectjrt.jar f.e.
> >
> >Alex
> >
> >
> 
> _______________________________________________
> aspectj-users mailing list
> aspectj-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/aspectj-users
>


Back to the top