Article:
  Aspect-Oriented Programming and JBoss
Subject:   the example does'nt execute
Date:   2003-10-08 00:17:56
From:   anonymous2
Hi there!


Thank you for the article, it's my first step in AOP. But I have one little problem: the code provided won't run.
I have tried it over the command prompt and by creating a project.
I have added the following line to my java command "-Djava.system.class.loader=org.jboss.aop.standalone.SystemClassLoader" and also added the three jars javassist.jar, jboss-aop.jar and jboss-common.jar to my classpath, but the program exits with
"java.lang.NoClassDefFoundError: POJO
Exception in thread "main" "


What am I making wrong? I would really like to see JBoss AOP working!


Thank you very much for your help!


Peter Götz

Main Topics Oldest First

Showing messages 1 through 1 of 1.

  • the example does'nt execute
    2003-10-08 05:36:29  anonymous2 [View]

    The example code is in the DR2 distribution just in case you are cutting and pasting.

    did you add "." to your classpath?