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

 

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

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

 代码修改完毕后,须要从新生成下,可是不用从新启动调试。分布式

 

分布式项目,这个插件可能有问题,须要注意。spring-boot

相关文章
相关标签/搜索