Enabling AspectJ Support Plugins
To be able to use the AspectJ support in IntelliJ IDEA Ultimate, you have to make sure that the following plugins are enabled:
In addition to that, you should also create a library for aspectjrt.jar.
Making sure that the necessary plugins are enabled
In the Settings/Preferences dialog (e.g. Ctrl+Alt+S), type
Select Plugins in the pane below the search box.
On the Plugins page that opens in the right-hand part of the dialog, make sure that All plugins is selected in the Show box, and type
aspectjin the search field.
Make sure that the checkboxes to the right of AspectJ Support and Spring AOP/@AspectJ are selected.
Click OK in the Settings dialog.
If asked, restart IntelliJ IDEA.