注意事项
Build from Source · spring-projects/spring-framework Wiki (github.com)
注意JDK 需要17
Gradle编译:无效的源发行版: 17
![](https://img-blog.csdnimg.cn/img_convert/7bc3ca74e825455897a9e043eb78d865.png)
第一步 pull
![](https://img-blog.csdnimg.cn/img_convert/c4ffde8d4c30f0809ed5ab79865e2760.png)
左上角切到5.0.x,然后 git pull
![](https://img-blog.csdnimg.cn/img_convert/ce358bea102b9950242f29e4db55fcbc.png)
gradle 会自动下载。
objenesis 的编译解决
![](https://img-blog.csdnimg.cn/img_convert/1c672b92fb50230dbbda86ea428b1ee1.png)
解决spring源码构建时缺失spring-cglib-repack和spring-objenesis-repack问题_南笙北默的博客-CSDN博客
aspect 编译解决
![](https://img-blog.csdnimg.cn/img_convert/f07536b75724ec66ba2c00c2392d773c.png)
![](https://img-blog.csdnimg.cn/img_convert/4d0b5b5e7c424d7a3e0a1215a7939df9.png)
使用这个插件--AspectJ