Note The following hot deployment modes are disabled by default in IDEA. Manual compilation requires shortcut keys (Ctrl+Shift+F9). The configuration of automatic compilation is as follows: File- settings-compiler-build Project automatically spring-boot-devtools



org.springframework.boot


spring-boot-devtools

true

Set the following two (the first item has set up a second set directly) 1) “File” – > “Settings” – > “Build, Execution, Deplyment” – > “Compiler”, Select Build Project Automatically. 2) key combination: “Shift + Ctrl + Alt + /”, select “Registry”, select the box “. The compiler. Automake. Allow the when. App. Running “after normal run directly can! spring-loaded

org.springframework.boot


spring-boot-maven-plugin


org. springFramework


Springloaded


1.2.6.RELEASE

If you don’t want to find pom. XML, you can find it in the Plugin. If you want to find POM, you can find it in the Plugin. Or right click on the POM -> File Path to open CMD in this Path (in Win you can quickly open the corresponding Path with Shift), and enter the boot command MVN spring-boot:run to modify the code in the IDE to implement hot loading!