1
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<optional>true</optional>
</dependency>
2. file->settings /compiler build project automatically
3. shift + ctrl + alt + /
Maintenance compiler.automake.allow.when.app.running