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

时间:2019-06-28 20:58:46   收藏:0   阅读:98

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

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!