源码阅读环境搭建
目的
使用自建demo项目不利于查看源码和编写注释,磨刀不误砍柴工,先把整个源码拿下来
Spring源码阅读的目的
掌握Spring的一些基础知识
操作流程
- clonespring boot源码地址
- 选择版本,此处我选择的是2.2.x[因为目前项目使用该版本]
- git clean install 下载包
问题
操作
git clean install 报错
报错信息
Use https:// instead. [NoHttp]
原因
.idea/jarRepositories.xml 文件中有几行使用的是http而不是https,插件校验不通过,修改为https即可