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

1.在pom.xml里面添加一个依赖即可

关键代码

<dependency>
	<groupId>org.springframework.boot</groupId>
	<artifactId>spring-boot-devtools</artifactId>
	<scope>runtime</scope>
</dependency>

完整pom.xml

2. 右键工程 Maven Update工程即可

原文地址:https://www.cnblogs.com/max-hou/p/11104708.html