``` org.springframework.boot spring-boot-devtools ```
由于idea不会自动编译项目,所以源码修改不能被spring-boot-devtools检测到,勾选下面两个选项后idea将在窗口失去焦点时自动编译并替换源码文件。