0 Replies Latest reply on May 30, 2003 3:50 PM by jlk

    pointcut class=".*" causes ClassDefNotFound

    jlk Newbie

      Is it not possible to cut across all classes? When I change example1 to:

      <interceptor-pointcut class=".*">

      It responds back with:

      Exception in thread "main" java.lang.NoClassDefFoundError: POJO

      I added debugging to the standalone SystemClassLoader, and here is the exception causing the CDNF:

      invocation target exception:
      java.lang.ClassCircularityError: org/jboss/aop/SimpleMetaData
      at org.jboss.aop.Advisor.(Unknown Source)
      at org.jboss.aop.ClassAdvisor.(Unknown Source)
      at org.jboss.aop.AspectManager.findClassAdvisor(Unknown Source)
      at org.jboss.aop.AspectManager.translate(Unknown Source)
      at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.aop.standalone.SystemClassLoader.loadClass(Unknown Source)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
      at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
      at org.jboss.aop.Advisor.(Unknown Source)
      at org.jboss.aop.ClassAdvisor.(Unknown Source)
      at org.jboss.aop.AspectManager.findClassAdvisor(Unknown Source)
      at org.jboss.aop.AspectManager.translate(Unknown Source)
      at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.aop.standalone.SystemClassLoader.loadClass(Unknown Source)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
      at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
      java.lang.NoClassDefFoundError: org/jboss/aop/SimpleMetaData
      at org.jboss.aop.Advisor.(Unknown Source)
      at org.jboss.aop.ClassAdvisor.(Unknown Source)
      at org.jboss.aop.AspectManager.findClassAdvisor(Unknown Source)
      at org.jboss.aop.AspectManager.translate(Unknown Source)
      at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.aop.standalone.SystemClassLoader.loadClass(Unknown Source)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
      at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)