Spring Boot - 02 - Spring Boot热部署 学习笔记

参考资料:https://blog.csdn.net/qq_40147863/article/details/84197273

热部署前 IDEA 中的一些设置

和参考资料不同的地方,记录随笔

一:配置

Mac上IDEA快捷键 出maintenance

 Command +   Option +  Shift +/?

 

 

二:pom.xml 文件中的一些设置

https://mvnrepository.com

 

<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<optional>true</optional> <!-- 这个需要为 true 热部署才有效 -->
</dependency>

posted @ 2020-05-21 11:42  Elsie  阅读(114)  评论(0编辑  收藏  举报