吾生也有涯,而知也无涯
做了这么多年开发,用了spring也好久了,以前走马观花的看不太好(网上spring文章一大堆),故特意下载下来到本地环境,想看看spring的源码,注意我用的spring版本是5
0. 安装git https://git-scm.com/downloads,略
1. 下载spring源码
去github下载spring源码,地址:https://github.com/spring-projects/spring-framework
可以通过Git工具获取源码
git clone https://github.com/spring-projects/spring-framework.git
,也可以直接下载.zip源码
https://github.com/spring-projects/spring-framework/archive/master.zip
2. 以下载举例(我是以这个方式处理的)
下载spring压缩包master.zip后,进行解压,目录结构如下