This post is regarding solving an issue you may get when trying to use IntelliJ's AspectJ plugin. When running the test I've added here from IntelliJ, You get the message:
Error: ExactAnnotationTypePattern was written by a newer version of AspectJ
But, if I run Maven2 with "mvn clean install", and then run the test again in IntelliJ, everything is ok.
I've posted a message to the owner of the plugin, so I'll keep you informed on that progress. Until then, here's the sample code which should be a breeze to browse.
IntelliJ 7.0.3 build 7782
AspectJ weaver plugin v1.11
Update - issue solved
I contacted the maintainer of the IntelliJ AspectJWeaver plugin, Mattias Jiderhamn, and presented the issue.
I'm pleased to announce that the issue is now solved, and I can happily code aspectJ stuff from within IntelliJ. Hoorah!