添加devtools依赖
<dependency><groupId>org.springframework.boot</groupId><artifactId>spring-boot-devtools</artifactId><scope>runtime</scope><optional>true</optional></dependency>
IDEA开启自动编译

开启运行中热部署
低版本需要双击shift搜索registry

高版本设置如下所示
DeBug启动项目

标签:
spring boot
本文转载自: https://blog.csdn.net/weixin_45364220/article/details/136153563
版权归原作者 你去把唐僧使徒除掉 所有, 如有侵权,请联系我们删除。
版权归原作者 你去把唐僧使徒除掉 所有, 如有侵权,请联系我们删除。