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

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

springboot在eclipse实现热部署

本文转自: 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] 。对类,配置文件进行修改,保存后项目会自动热部署

springboot在eclipse实现热部署

相关文章:

  • 2021-11-28
  • 2021-06-11
  • 2021-11-19
  • 2021-05-04
猜你喜欢
  • 2021-09-05
  • 2021-09-06
  • 2021-06-03
  • 2021-07-14
  • 2021-09-13
  • 2021-10-24
相关资源
相似解决方案