AspectJ IntelliJ - No matching factory method found: factory method 'aspectOf()'

So I have a spring / maven project which i've recently moved over from eclipse to intellij. Mainly this was due to Juno giving me performance grief. Anyway when I make in intellij It seems that the aspects aren't weaved, I can't work out why though. It works perfectly from command line so I suspect its something to do with my setup in intellij.

I've exhaustively tried various combinations of the aspectJ weaver plugin and the Ajc with no success.

I would like to know exactly how to set it up correctly?

Cheers
Mike.

6 comments

Hi Mike,

Can you provide a sample project which illustrates the problem?

Denis

0

Sure i'll post a sample later this afternoon.

Cheers

0

Confirm that no weaving is performed when the project is built under IJ but everything works fine under command line build.

Will ask our aspectj guy to have a close look into the processing.

Denis

0

Please sign in to leave a comment.