I am trying to run aspectj-maven plugin with JDK8. But it is giving errors like \"The type java.lang.CharSequence cannot be resolved. It is indirectly referenced from requir
Another way to solve this problem is to downgrade JDK level to 1.7. JDK 1.7 works well with aspectj-maven-plugin of versions 1.4 - 1.6.
Here is a screenshot showing how to change JDK level in IntelliJ IDEA project:
Set Project SDK to 1.7. See documentation for more details.