1,编译orm模块报循环依赖错误解决方法
根据别的大神的路线,一步步配置spring源码的时候,编译orm报如下错误:
-
BUILD FAILED in 3s -
Circular dependency between the following tasks: -
:spring-beans:compileGroovy -
--- :spring-beans:compileJava -
--- :spring-beans:compileKotlin -
--- :spring-beans:compileGroovy (*) -
,
-
(*) - details omitted (listed previously)将gradle的版本由4.9改为4.4.1,放开compileGroovy.dependsOn = compileGroovy.taskDependencies.values - "compileJava" 就可以了
2,缺少InstrumentationSavingAgent类错误
在自己的module中引入,compile(project(":spring-instrument"))的依赖