1. Add the configuration to pom. XML
<! > <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-devtools</artifactId> </dependency>Copy the code
2. The idea of setting
2.1 Open the Settings panel and choose -> Compiler ->Build project Automatically
2.2 Shortcut keys Shift + Alt + Contr +/ Pop-up panel to select Registry
choose
Restart the project until the hot deployment configuration is complete