版本说明
- idea 2020.2
- jdk14 level 11
操作说明
- 到gitee中找到项目https://gitee.com/mirrors/Spring-Framework/tree/5.2.x/并克隆到工作目录
git clone https://gitee.com/mirrors/Spring-Framework.git
- 进入Spring-Framework目录,执行以下命令
./gradlew :spring-oxm:compileTestJava
-
将Spring-Framework导入到idea中即可。
-
官方使用说明 import-into-idea.md
1. Precompile `spring-oxm` with `./gradlew :spring-oxm:compileTestJava`
2. Import into IntelliJ (File -> New -> Project from Existing Sources -> Navigate to directory -> Select build.gradle)
3. When prompted exclude the `spring-aspects` module (or after the import via File-> Project Structure -> Modules)
4. Code away
注意:本文归作者所有,未经作者允许,不得转载