源码分析

热部署
第一步:添加依赖
<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-devtools</artifactId> </dependency>
第二步:idea自动编译功能设置
Spring boot—day01
ctrl+shift+alt+/
Spring boot—day01
勾选下图的选项。到此热部署设置ok
Spring boot—day01

引导类分析部分
@SpringBootApplication ctrl+左键 点进去
Spring boot—day01
此处表明,spring boot的引导类就是一个配置类
Spring boot—day01
Spring boot—day01
Spring boot—day01
Spring boot—day01

相关文章:

  • 2021-07-23
  • 2021-06-06
  • 2021-12-14
  • 2023-01-14
  • 2021-06-25
  • 2021-10-21
  • 2021-11-17
  • 2021-05-21
猜你喜欢
  • 2021-08-01
  • 2021-04-30
  • 2021-04-22
  • 2021-10-30
  • 2022-12-23
  • 2021-10-25
  • 2021-12-16
相关资源
相似解决方案