IntelliJ IDEA 如何开启热更新修改代码自动重启springboot
网友回复
使用 spring-boot-devtools来进行热部署
1、pom.xml文件加入以下依赖
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<option...点击查看剩余70%
漏了一条,还要在pom.xml中增加spring-boot-maven-plugin
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
...点击查看剩余70%


