环境准备
- spring-framework-5.2.25.RELEASE
- IntelliJ IDEA 2022.3.1
- java version “11.0.20” 2023-07-18 LTS
- Gradle 5.6.4
- java version “1.8.0_301”
下载spring-framework-5.2.25.RELEASE源码
git clone https://gitee.com/QQ952051088/spring.git
cd spring
gradlew build
ps:经过长时间依赖的下载,可能会报错,但无伤大雅
将spring源码导入idea
File – > new – > Project from Existing Sources… – > build.gradle