IDEA开启热部署

1,在pom.xml文件中添加如下依赖

        
            org.springframework.boot
            spring-boot-devtools
        

2,点击file -> settings -> Build,Execution,Deployment -> Complier 

选中Build project automatically

IDEA开启热部署_第1张图片

3,Shift + Ctrl +Alt +/ 选择Registry

 IDEA开启热部署_第2张图片

OK! 

你可能感兴趣的:(spingboot)