[aspectwerkz-user] Interface org.codehaus.aspectwerkz.annotation.Annotation is not visible from class loader

Michael Nascimento <[email protected]> Fri, 13 May 2005 23:19:52 -0300
Newsgroups gmane.comp.java.aspectwerkz.user
Message-ID <[email protected]>
Hi folks,

This happens when I try to call Annotations.getAnnotations(..) running
with JDK 1.5.0_03:

java.lang.IllegalArgumentException: interface
org.codehaus.aspectwerkz.annotation.Annotation is not visible from
class loader
   at java.lang.reflect.Proxy.getProxyClass(Proxy.java:345)
   at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:564)
   at org.codehaus.aspectwerkz.annotation.Java5AnnotationInvocationHandler.getAnnotationProxy(Java5AnnotationInvocationHandler.java:169)
   at org.codehaus.aspectwerkz.annotation.instrumentation.asm.AsmAnnotationHelper.getAnnotationInfo(AsmAnnotationHelper.java:304)
   at org.codehaus.aspectwerkz.annotation.instrumentation.asm.AsmAnnotationHelper.extractAnnotations(AsmAnnotationHelper.java:280)
   at org.codehaus.aspectwerkz.annotation.instrumentation.asm.AsmAnnotationHelper$MethodAnnotationExtractor.visitMethod(AsmAnnotationHelper.java:126)
   at org.codehaus.aspectwerkz.org.objectweb.asm.ClassReader.accept(Unknown
Source)
   at org.codehaus.aspectwerkz.reflect.impl.asm.AsmMethodInfo.getAnnotations(AsmMethodInfo.java:213)
   at org.codehaus.aspectwerkz.annotation.instrumentation.asm.AsmAnnotations.getAnnotations(AsmAnnotations.java:127)
   at org.codehaus.aspectwerkz.annotation.Annotations.getAnnotations(Annotations.java:168)

Has anyone seen this?

Regards,
Michael