Menu

#3 AspectJ fails with NetBeans 3.5

open-fixed
None
5
2003-08-01
2003-07-08
No

AspectJ for NetBeans (AspectJForNetBeans-1.1rc2.zip)
throws "java.lang.NoClassDefFoundError:
org/aspectj/lang/Signature" exception with NetBeans 3.5
and with Sun ONE Studio 5, which is based on NetBeans
3.5. It compiles but won't run the simple example at
http://developers.sun.com/tools/javatools/articles/aspec
tJ/demo-aspect.zip, which is in the "Aspect-Oriented
Programming with Sun ONE Studio" article at
http://developers.sun.com/tools/javatools/articles/aspec
tJ.html.

Compile the example using the included logging.lst or
counter.lst file, then execute GiveGreeting.java to see
the failure.

Discussion

  • Vaughn Spurlin

    Vaughn Spurlin - 2003-07-08

    AspectJ example

     
  • Vaughn Spurlin

    Vaughn Spurlin - 2003-07-18

    Logged In: YES
    user_id=421358

    Workaround: mount aspectjrt.jar as a NetBeans archive
    filesystem, and the classpath problem goes away.

    The cause is an change in NetBeans APIs discussed at
    http://www.netbeans.org/download/dev/javadoc/OpenAPIs/or
    g/openide/doc-files/upgrade.html#3.5i-indirect-dep-cp

     
  • Wes

    Wes - 2003-07-29

    Logged In: YES
    user_id=668282

    I believe Vaughn has fixed this and submitted a patch to
    aspectj-dev. Mik plans to incorporate the patch.

     
  • Wes

    Wes - 2003-07-29
    • assigned_to: nobody --> beatmik
     
  • Mik Kersten

    Mik Kersten - 2003-08-01

    Logged In: YES
    user_id=668886

    Thanks to Vaughn for the patch!

     
  • Mik Kersten

    Mik Kersten - 2003-08-01
    • status: open --> open-fixed
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.