SpringBoot IDEA热部署

一、依赖

<!--热部署-->
<dependency>
  <groupId>org.springframework.boot</groupId>
  <artifactId>spring-boot-devtools</artifactId>
  <scope>runtime</scope>
  <optional>true</optional>
</dependency>

二、IDEA设置

在这里插入图片描述

search everywhere 输入 registry

在这里插入图片描述

勾上

在这里插入图片描述

其中第一项新版本idea可能没有

进入设置->高级设置->勾上

在这里插入图片描述

三、启动设置

配置参考下图。

在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/weixin_43696693/article/details/125201492
今日推荐