IDEA: javac: source release 1.7 requires target release 1.7

后端 未结 18 1400
青春惊慌失措
青春惊慌失措 2020-11-22 06:26

When running a JUnit test, using IntelliJ IDEA, I get

\"enter

How can I correc

18条回答
  •  我寻月下人不归
    2020-11-22 07:05

    I've hit this after just minor upgrade from IntelliJ IDEA 14 to v14.1. For me changing an edit of top/parent pom helped and then clicked re-import Maven (if it is not automatic).

    But it maybe just enough to Right Click on module(s)/aggregated/parent module and Maven -> Reimport.

提交回复
热议问题