12 Replies Latest reply on Apr 26, 2005 9:26 AM by junli10

    Failed to aspectize class org.jboss.cache.TreeCache

    junli10

      I'm getting this error when I try to run demo in tutorial. Can anyone point out what the problem is ? Thanks.

      **
      m:~/jboss-cache$ sh runShellDemo.sh
      BeanShell 1.3.0 - by Pat Niemeyer (pat@pat.net)
      bsh % sourceRelative("plain.bsh");
      [error] Failed to aspectize class org.jboss.cache.TreeCache. Could not find class it references org.jboss.system.ServiceMBeanSupport It may not be in your classpath and you may not be getting field and constructor weaving for this class... Do verbose mode if you want full stack trace.
      // Error: // Uncaught Exception: Method Invocation this.interpreter.source : at Line: 19 : in file: /bsh/commands/sourceRelative.bsh : this .interpreter .source ( path , this .caller .namespace )

      Called from method: sourceRelative : at Line: 1 : in file: <unknown file> : sourceRelative ( "plain.bsh" )
      Target exception: java.lang.Error: Error transforming the class org.jboss.cache.TreeCache: org.jboss.aop.instrument.TransformationException: Failed to aspectize class org.jboss.cache.TreeCache. Could not find class it references org.jboss.system.ServiceMBeanSupport It may not be in your classpath and you may not be getting field and constructor weaving for this class.

      java.lang.Error: Error transforming the class org.jboss.cache.TreeCache: org.jboss.aop.instrument.TransformationException: Failed to aspectize class org.jboss.cache.TreeCache. Could not find class it references org.jboss.system.ServiceMBeanSupport It may not be in your classpath and you may not be getting field and constructor weaving for this class.
      at org.jboss.aop.standalone.SystemClassLoader.loadClass(SystemClassLoader.java:191)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
      at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
      at java.lang.Class.forName0(Native Method)
      **