1、下载源码:
https://github.com/spring-projects/spring-framework中找到链接:
git clone https://github.com/spring-projects/spring-framework.git
进入:/spring-framework执行:
./gradlew :spring-oxm:compileTestJava
然后 File -> New -> Project from Existing Sources -> Navigate to directory -> 选择 build.gradle
参考:import-into-idea.md
最好翻墙,不然会很慢。
构建好后,子项目图标右下角会显示蓝色。