git下载地址:https://git-scm.com/downloads
- 首次出现错误
$ git clone https://github.com/spring-projects/spring-framework.git
Cloning into 'spring-framework'...
remote: Enumerating objects: 552122, done.
error: RPC failed; curl 18 transfer closed with outstanding read data remaining
fatal: the remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
- 然后,嗯,然后 成功了
- 还有一个步骤
git fetch --unshallow
(大概意思是远程仓库过大,而网络连接有抖动,导致连接断开的概率增大,so先浅拷贝,再深拷贝,反正我不懂,只看懂了 build successful)
- 打开源码根目录找到gradlew.bat,双击执行
- 编译成功后,再到源码根目录,cmd命令
- 给看一下我的文件目录吧
最开始spring-framework-learn 然后改成了D:\spring-framework-5.1.x,善变的我
一个so easy的事情 让我搞了好久,????,别问为什么 ??????
- step1
- step2
然后选择gradle
- step3
- step4
- over
TODO
原文:https://www.cnblogs.com/VVII/p/12093685.html