Error “Source option 5 is no longer supported. Use 6 or later” on Maven compile

前端 未结 9 2470
谎友^
谎友^ 2021-02-01 00:54

I am getting the following error or $ mvn compile:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on         


        
9条回答
  •  隐瞒了意图╮
    2021-02-01 01:38

    Also in one of my projects, in addition to all of answers above, another try works: Just change Language level in Modules section of Project Structure [image below] [Language Level]1

提交回复
热议问题