3 Replies Latest reply on May 24, 2004 8:52 AM by Bill Burke

    javassist.NotFoundException: transactional (my annotation)

    mriou Newbie

      Hi,

      When I'm starting the annotation compiler I'm getting an exception. I double checked and everything seems to be in my classpath (including the interceptor). Here is the stack :

      [annotationc] Working directory ignored when same JVM is used.
      javassist.NotFoundException: transactional
      at javassist.ClassPool.get(ClassPool.java:372)
      at org.jboss.aop.annotation.compiler.AnnotationInfoCreator.createAnnotationInfo(AnnotationIn
      foCreator.java:158)
      at org.jboss.aop.annotation.compiler.ByteCodeAnnotationCompiler.compileMethod(ByteCodeAnnota
      tionCompiler.java:219)
      at org.jboss.aop.annotation.compiler.ByteCodeAnnotationCompiler.compileClass(ByteCodeAnnotat
      ionCompiler.java:181)
      at org.jboss.aop.annotation.compiler.ByteCodeAnnotationCompiler.compile(ByteCodeAnnotationCo
      mpiler.java:77)
      at org.jboss.aop.annotation.compiler.AnnotationCompiler.compile(AnnotationCompiler.java:46)
      at org.jboss.aop.annotation.compiler.AnnotationCompiler.main(AnnotationCompiler.java:23)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.apache.tools.ant.taskdefs.ExecuteJava.run(ExecuteJava.java:208)
      at org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:150)
      at org.apache.tools.ant.taskdefs.Java.run(Java.java:443)
      at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:163)
      at org.apache.tools.ant.taskdefs.Java.execute(Java.java:108)
      at org.jboss.aop.ant.AnnotationC.execute(AnnotationC.java:265)

      Any idea ?