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"))的依賴