springboot项目自动更新修改代码工具

在pom.xml配置文件加入以下依赖,代码修改就不需要重启了。

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

猜你喜欢

转载自www.cnblogs.com/Tpf386/p/11024739.html