idea热部署

1.依赖jar包
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
</dependency>
2.通过maven启动测试
clean package spring-boot:run -Dmaven.test.skip=true
3.File --> Settings -->Build,Execution,Deployment --> Complier --> Build Project automatically(勾选上)
4.Alt + shift + Ctrl + / --> Registry --> compliler.automake.allow.when.app.running(勾选上)

posted @ 2019-01-19 17:21  MoMing·  阅读(133)  评论(0编辑  收藏  举报