ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.


AddThis Social Bookmark Button
  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

1 to 1 of 1
1 to 1 of 1