springboot源码gradle 编译报错

springboot源码gradle 编译报错

springboot源码gradle 编译报错,如下:

> Task :buildSrc:compileJava FAILED


Execution failed for task ':buildSrc:compileJava'.

> 无效的源发行版: 17


* Try:

> Run with --stacktrace option to get the stack trace.

> Run with --info or --debug option to get more log output.


我看到build.gradle 中有2行

sourceCompatibility = targetCompatibility =


我把他改成

sourceCompatibility = 8
targetCompatibility =

还是不行,麻烦老师给看看

正在回答 回答被采纳积分+1

登陆购买课程后可参与讨论,去登陆

问题已解决,确定采纳
还有疑问,暂不采纳

恭喜解决一个难题,获得1积分~

来为老师/同学的回答评分吧

0 星

目前无任何回答

请稍等 ...
意见反馈 帮助中心 APP下载
官方微信

在线咨询

领取优惠

免费试听

领取大纲

扫描二维码,添加
你的专属老师