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

Hi Ania.
aztlan@xxxxxxxxxxxxxx pisze:
3. In plugin dependencies of XX I added plugis A..Z, so that in the aspects the classes are known.
4. I didn't add plugin XX in dependencies of A..Z, because that would result in a cycle.
5. I added project XX in to AspectPath of A..Z.

That's all that I did. You suggest, that I might have an error in aspect code. I don't think it's likely, because the same aspect copied into one of the projects A..Z works just fine.

What else should I do to make it work?
  
Try linking source code instead of adding project in dependecies.
For every dependent project do
Package explorer ->"Project's name"->right click->link source->choose other projects' source folder
add desirable name.
Refresh XX and build. Look in AspectJ console for errors.

--
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