2 Replies Latest reply on Jul 18, 2005 4:26 PM by Ben Livshits

    Failed to aspectalize

    Ben Livshits Newbie

      I am trying to apply aspect to a standalone application and get an exception shown below:

      Exception in thread "main" java.lang.Error: Error transforming the class org.columba.core.main.Main: org.jboss.aop.instrument.TransformationException: Failed to aspectize class org.columba.core.main.Main. Could not find class it references org.columba.core.trayicon.ColumbaTrayIcon 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:251)
      


      The code in question is on the classpath. Other similar applications are instrumented without a problem.

      Any thoughts?