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.
请先登录再写评论。
Hi Mike,
Can you provide a sample project which illustrates the problem?
Denis
Sure i'll post a sample later this afternoon.
Cheers
Sample pushed to github.
https://github.com/patelm5/aspectj-scala-intellij
Thanks, checking.
Denis
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
Mike, please follow http://youtrack.jetbrains.com/issue/IDEA-101079.