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 =
还是不行,麻烦老师给看看
2
收起
正在回答 回答被采纳积分+1
目前无任何回答
恭喜解决一个难题,获得1积分~
来为老师/同学的回答评分吧
0 星