1.clone代码到本地,仓库地址为 https://github.com/spring-projects/spring-framework.git
2.导入到idea File -> New -> Project from Existing Sources -> Navigate to directory -> Select build.gradle
3.在命令窗口先预编译spring-oxm,使用命令 './gradlew :spring-oxm:compileTestJava'

4.第四部最麻烦,module得一个个导入。 File -> New -> Module from Existing Sources

网友评论