1. Spring-boot-devtools
directly introduces dependencies in pom
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<optional>true</optional>
</ dependency>
set the following two items (the first item is set directly to the second item if it has been set)
1) "File" -> "Settings" -> "Build, Execution, Delivery" -> "Compiler", select and tick "Build project" automatically".
2) Key combination: "Shift+Ctrl+Alt+/", select "Registry", check "compiler.automake.allow.when.app.running"
Original blog address: https://www.cnblogs.com/jiangbei /p/8439394.html
springboot modification project does not need to restart the server
Guess you like
Origin http://43.154.161.224:23101/article/api/json?id=325258219&siteId=291194637
Recommended
Ranking