Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] can't get simple aspectj example to work

Hi,

I found the following simple AspectJ example floating on the net:
http://www.cs.wustl.edu/~mdeters/seminar/fall2002/notes/code/Trace_v2.html

I tried following it but get:
gnychis@monster ~/school/AspectJ $ ajc Trace_v2.aj HelloWorld.java
gnychis@monster ~/school/AspectJ $ java HelloWorld
Exception in thread "main" java.lang.NoClassDefFoundError: org/aspectj/lang/NoAspectBoundException
        at HelloWorld.<clinit>(HelloWorld.java)

Can anyone provide me any advice/help?

Thanks!
George



Back to the top