IDEA: javac: source release 1.7 requires target release 1.7

后端 未结 18 1301
青春惊慌失措
青春惊慌失措 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:10

    From one moment to the other I also got this error without a clear reason. I changed all kinds of settings on the compiler/module etc. But in the end I just recreated the IntelliJ project by reimporting the Maven project and the issue was solved. I think this is a bug.

    IntelliJ 12 129.961

提交回复
热议问题