springboot在eclipse实现热部署

eclipse使用spring-tool-suite插件创建springboot项目,项目创建完成后。

选中项目,右键 Spring Tools  --> Add Boot Devtools

本文转自: https://www.cnblogs.com/QW-lzm/p/9142789.html

点击 Add Boot Devtools ,项目的pom.xml 文件会添加 devtools 依赖

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

项目上增加了 [devtools] 。对类,配置文件进行修改,保存后项目会自动热部署

posted @ 2018-12-24 10:51  Bk小凯笔记  阅读(1127)  评论(0编辑  收藏  举报