Spring Boot实现热部署

通过一下步骤,可以实现Spring Boot热部署,从而在修改代码时,不需要手动重启

1. 导入spring-boot-devtools依赖

2. 设置IDEA自动编译

3. 设置IDEA的Registry(ctrl+shift+alt+/)

勾选compiler.automake.allow.when.app.running

posted @ 2021-06-23 06:17  Fintech技术汇  阅读(257)  评论(0编辑  收藏  举报