Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] NoClassDefFound in AspectJ Plug-in

Hello Ania.

aztlan@xxxxxxxxxxxxxx pisze:
I tried to add these project plug-ins in the inpath for the aspect plug-in, but the dependencies where going very deep and as the result the weaving took ages and ended up in java heap space error.
  
You may increase more memory to Eclipse, just to see if it's possible to compile with configuration you are using
"C:\Program Files\eclipse3.3\eclipse.exe" -vmargs -Xms256m -Xmx952m -XX:MaxPermSize=256m

After that when I started the project, I got NoClassDefFoundError for classes that are in those plug-ins and were certainly not missing before I switched to aspectJ.

What am I missing? I'll be glad for any help.
  
Rest of your description is not clear enough. Only I can suspect is that you have some problems with source folders. Maybe you are linking some source folders from other Projects/paths and sometimes Eclipse disables such linked folders. Their icon is ordinary folder icon instead of package-icon. Check it. Clear and rebuild whole project.
I had many problems with AspectJ plugin when there were any errors in Aspects code. Check AspectJ console output for these.

You may provide more info about you dir/file structure etc.

Best regards,
--
Bartlomiej Zdanowski
Programmer
Product Research & Development Department
AutoGuard S.A.

Place of registration: Regional Court for the Capital City of Warsaw
Registration no.: 0000287629
Share capital: 1 059 000 PLN
Polish VAT and tax ID no.: PL1132219747
Omulewska 27 street
04-128 Warsaw
Poland
phone +48 22 611 69 23
www.autoguard.pl

Back to the top