springmvc学习指南 之---第35篇 记录新建一次spring源码搭建
按照网站说的,搭了几个小时都不成功,自己摸索一下,成功了,记录一下
1`首先在github的在gitee导入,那么这个地址就是https://gitee.com/zhangyantao_tt/spring-framework.git
2`下载gradle6.8.3,设置环境变量为地址
3`
Steps Within your locally cloned spring-framework working directory: 1.Precompile spring-oxm with ./gradlew :spring-oxm:compileTestJava 2.Import into IntelliJ (File -> New -> Project from Existing Sources -> Navigate to directory -> Select build.gradle) 3.When prompted exclude the spring-aspects module (or after the import via File-> Project Structure -> Modules) Code away
4,打开之后进入idea界面设置gradle的编译选项
5`等待编译完成
6,新建model进行测试
参考别人的 http://www.javaboy.org/2020/0708/source-code.html
7,测试成功