-
- <!-- 热部署 -->
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-devtools</artifactId>
- <optional>true</optional>
- <scope>true</scope>
- </dependency>
- <build>
- <plugins>
- <plugin>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-maven-plugin</artifactId>
- <configuration>
- <!-- 没有该配置,devtools 不生效 -->
- <fork>true</fork>
- </configuration>
- </plugin>
- </plugins>
- </build>
springboot热部署
最新推荐文章于 2023-10-16 00:59:28 发布