idea集成热部署(devtools)
1、增加依赖
<!--热部署DecTools工具-->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
</dependency>
2、设置代码自动编译

3、运行时,自动编译
两下shift,搜registry,选action下的,勾选如下选项


浙公网安备 33010602011771号