学习springboot,第一步官网下载源码然后编译

地址:https://github.com/spring-projects/spring-boot/

1. 选择tag

springboot源码调试

 2. 进入后选择的版本是2.2.2的版本springboot源码调试

 3. 下载完成后解压到相应的文件夹下,进行编译,运行:

执行前先在pom.xml的添加如下一个属性:

<properties>
       <disable.checks>true</disable.checks>
</properties>

然后在控制台执行如下命令,注意执行完后再导入idea。如果不想执行上述操作,可以直接下载百度网盘的已经编译的项目直接导入idea中运行图5中的类即可。

mvn clean install -DskipTests -Pfast

4. 上述命令大概执行40分钟左右,下面给出已经编译好的链接地址:

链接: https://pan.baidu.com/s/1YxZeDDntRnE6H9fh1qyEOA 提取码: xv4r  

5.在spring-boot-tests下的spring-boot-integration-tests下的spring-boot-launch-script-tests的LaunchScriptTestApplication启动

springboot源码调试

相关文章:

  • 2021-11-29
  • 2021-11-06
  • 2021-10-11
  • 2021-12-11
  • 2021-06-09
  • 2021-08-17
  • 2021-11-28
  • 2022-01-24
猜你喜欢
  • 2021-10-01
  • 2021-09-16
  • 2021-09-01
  • 2022-12-23
  • 2021-12-05
  • 2021-08-10
相关资源
相似解决方案