Spring boot工程如何启用热启动功能

其实只要在pom.xml文件中的<dependencies></dependencies>标签里加以下代码

1 <dependency>
2             <groupId>org.springframework.boot</groupId>
3             <artifactId>spring-boot-devtools</artifactId>
4             <scope>runtime</scope>
5         </dependency>

猜你喜欢

转载自www.cnblogs.com/hzyhx/p/11105017.html