Home >Java >javaTutorial >How to solve the problem that Springboot hot deployment is invalid in Idea
1. Enable automatic make function of idea
1 - Enable Automake from the compiler
PRESS: CTRL SHIFT A
TYPE: make project automatically
PRESS: Enter
Enable Make Project automatically feature
##2 - Enable Automake when the application is running
PRESS: CTRL SHIFT ATwo steps:
<dependency> <groupid>org.springframework.boot</groupid> <artifactid>spring-boot-devtools</artifactid> <optional>true</optional> <!-- 这个需要为 true 热部署才有效 --> <scope>runtime</scope> </dependency>Enable automatic compilation in IDEA:
The above is the detailed content of How to solve the problem that Springboot hot deployment is invalid in Idea. For more information, please follow other related articles on the PHP Chinese website!