Running JDK8 for aspectj

后端 未结 3 995
隐瞒了意图╮
隐瞒了意图╮ 2021-01-04 22:25

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

3条回答
  •  死守一世寂寞
    2021-01-04 23:09

    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.

提交回复
热议问题