spring boot 热部署
1.pom.xml 中添加依赖
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<optional>true</optional>
</dependency>
- 修改idea
build project automatically (勾选) file->settings->build, execution,deployment -> compile
alt+shift+ctrl+/ 设置register (勾选) compiler.automake.allow.when.app.running <-------------------->