ERROR Source option 1.5 is no longer supported. Use 1.6 or later

后端 未结 10 1057
[愿得一人]
[愿得一人] 2020-12-24 04:32

It all happens when I was trying to build a springboot application by ./mvnw clean install

When I first run the install command, it runs into followin

10条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-24 04:58

    I got this error: "Source option 5 is no longer supported. Use 6 or later" after I changed the pom.xml

    7
    

    to

    11
    

    Later to realise the property was used with a dash insteal of a dot:

      ${java-version}
      ${java-version}
    

    (swearings), I replaced the dot with a dash and the error went away:

    11
    

提交回复
热议问题