springboot idea整合热更新
作者:
前进的码农 | 来源:发表于
2020-10-14 21:06 被阅读0次
引入 devtools pom文件
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<scope>runtime</scope>
<optional>true</optional>
</dependency>
在pom中配置插件
<configuration>
<fork>true</fork>
</configuration>

image.png
配置Complier

image.png
配置Registry 按shift+option+command+/(mac)然后选择registry

image.png
配置Run/Debug

image.png
配置application.properties
spring.devtools.restart.enabled=true
本文标题:springboot idea整合热更新
本文链接:https://www.haomeiwen.com/subject/xkqgpktx.html
网友评论