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

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



Back to the top