1.在pom.xml文件中添加如下代码:
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<scope>runtime</scope>
<optional>true</optional>
</dependency>
2.在Preferences的Compiler中勾选Build project automatically和Compile inpendent modules in parallel
3. 打开Maintanance,并点击Registry...
4. 勾选这两个选项
actionSystem.assertFocusAccessFromEdt |
compiler.automake.allow.when.app.running |
Done.