1、引入jar包
<!--引入热部署-->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
</dependency>
2、IDEA配置

3、快捷键:Shift+Ctrl+Alt+/ 后,会弹出如下界面:

该文章介绍了如何在SpringBoot项目中引入devtools实现热部署,通过在pom.xml添加spring-boot-devtools依赖,然后在IDEA中进行相应配置,最后展示了使用特定快捷键(Shift+Ctrl+Alt+/)触发热部署的步骤。
1、引入jar包
<!--引入热部署-->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
</dependency>
2、IDEA配置

3、快捷键:Shift+Ctrl+Alt+/ 后,会弹出如下界面:

1020

被折叠的 条评论
为什么被折叠?