spring 源码分析之环境搭建

时间:2022-10-10 18:55:01

1、git(配置 Github 的 ssh)、gradle

2、从 Github 上下载源码

git clone git@github.com:spring-projects/spring-framework.git

3、进入子模块目录将其转化为 eclipse 项目

gradle cleanidea eclipse

4、导入 eclipse ,项目会缺少spring-cglib-repack-3.2.0.jar和spring-objenesis-repack-2.2.jar两个包

jar cvf spring-cglib-repack-3.2.4.jar org/springframework/cglib

jar cvf spring-objenesis-repack-2.4.jar org/springframework/objenesis

reference

关于创建spring源码环境时遇到的缺少spring-cglib-repack-3.2.0.jar和spring-objenesis-repack-2.2.jar两个包的问题
spring源码构建时缺失spring-cglib-repack-3.2.4.jar和spring-objenesis-repack-2.4.jar
spring源码gradle获得eclipse工程时,spring-beans-groovy项目GroovyDynamicElementReader报错解决
编译spring framework 4源码时GroovyDynamicElementReader报错
Groovy Eclipse Wik