SpringBoot热部署

来源:互联网 发布:php项目源代码 编辑:程序博客网 时间:2024/06/03 20:04

SpringBoot 热更新静态资源

1、maven 添加这些:
     <dependency>  
          <groupId>org.springframework.boot</groupId>   
         <artifactId>spring-boot-devtools</artifactId>  
          <optional>true</optional>     
   </dependency>


2、
3、然后 Shift+Ctrl+Alt+/,选择Registry

4、clean 重启项目

原创粉丝点击