Normally I do my AspectJ stuff by setting up Maven projects which just work in Eclipse and IntelliJ IDEA. In order to help you I just tried setting up a simple Java + AspectJ project from scratch in IDEA. This is what I did (I also had to play around a bit):
- Switch to Ajc as project compiler, set path to aspectjtools library and activate toggle for delegating to Javac for post-compile weaving and non-AspectJ projects
- Add aspectjrt library to project, either as a path to a JAR or using Maven coordinates
- Add aspectjrt library as dependency in all AspectJ-related modules and add AspectJ facet
- Edit AspectJ facet, activate post-compile weaving




If you have your aspects in a separate module, please also make sure to add that module as a dependency to the Java module and also add it to the aspect path.
Please also note that if optionally you wish to use Javac for compiling the aspect module, all aspects have to be in @AspectJ syntax, not in native syntax, otherwise you cannot delegate to Javac but have to use Ajc for the aspect module too. Either way, both modules need to have an AspectJ facet.
Update after the answer was already accepted:
Some IntelliJ IDEA sources for reference: