Skip to main content

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

Also, download the examples and the documentation from
 
   http://eclipse.org/aspectj

They're designed to get people up and running fast.  E.g., 
your NoClassDefFoundError is mentioned in the FAQ:

  http://www.eclipse.org/aspectj/doc/released/faq.html#q:noaspectbound
   
Wes

> ------------Original Message------------
> From: Ramnivas Laddad <ramnivas@xxxxxxxxxxxxxxx>
> To: aspectj-users@xxxxxxxxxxx
> Date: Thu, Jan-26-2006 9:20 PM
> Subject: Re: [aspectj-users] can't get simple aspectj example to work
>
> Put aspectjrt.jar in your classpath.
> 
> -Ramnivas
> 
> George P Nychis wrote:
> 
> >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
> >
> >_______________________________________________
> >aspectj-users mailing list
> >aspectj-users@xxxxxxxxxxx
> >https://dev.eclipse.org/mailman/listinfo/aspectj-users
> >
> >  
> >
> _______________________________________________
> aspectj-users mailing list
> aspectj-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/aspectj-users
> 



Back to the top