IDEA之Springboot热部署
1.Pom.xml中添加如下配置
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
</dependency>
2.按键CTRL+ALT+SHIFT+/,点击弹框中Registry
3.然后勾选compiler.automake.allow.when.app.running项,点close
4.然后在File->Settings->Build,Exception,Deployment->Complier下勾选下列选项,如下操作:
5.修改接口返回项,浏览器重新调用接口,热部署成功。