idea spring boot热部署

1、file setting 中找到 Build project automatically 自动对工程进行build


image.png

image.png

2、在pom文件中加入热部署信息

        
            org.springframework.boot
            spring-boot-devtools
            true
        

在build节点中加入

               
                   
                       true
                   
               

如下


image.png

就可以实现热部署啦

你可能感兴趣的:(idea spring boot热部署)