brew install gradle
Precompile
spring-oxm
with./gradlew :spring-oxm:compileTestJava
java
dokka
和 asciidoctor
等了好长好长的时间,终于构建完成了。git
compile(project(":spring-context"))
Error:(160, 32) java: 找不到符号 符号: 变量InstrumentationSavingAgent 位置:github
网上搜索了一大堆的解决方法,发现都不行。后来看了spring-context的依赖发现,spring-instrument 在 spring-context 中为 optional 依赖(optional(project(":spring-instrument"))
),因而在本身的模块中添加spring-instrument依赖spring
再次运行main方法,程序运行成功。ide
ps:令我感到奇怪的是,当我在写这篇总结时,尝试经过移除spring-instrument依赖来复现上述的问题时,发现复现不了了,好神奇。gradle