Error:java: invalid source release: 8 in Intellij. What does it mean?

前端 未结 16 989
旧时难觅i
旧时难觅i 2020-11-27 08:55

Im trying to compile some code in I\'m using Intellij Ultimate 13.1.4, but I get the following error and I have no idea what it means:

Information:Using java         


        
16条回答
  •  遥遥无期
    2020-11-27 09:40

    For Grails users, apply these declarations in your BuildConfig.groovy file:

    grails.project.target.level = 1.6 //or 1.7;1.8 and so on
    grails.project.source.level = 1.6 //or 1.7;1.8 and so on
    

提交回复
热议问题