The solution to the problem of invalid hot deployment of Springboot in Idea
This article mainly introduces "the solution to the problem of invalid hot deployment of Springboot in Idea". In the daily operation, I believe that many people have doubts about the solution to the problem of invalid hot deployment of Springboot in Idea. The editor consulted all kinds of materials and sorted out simple and useful operation methods. I hope it will be helpful to answer the doubt of "the solution to the problem of invalid hot deployment of Springboot in Idea". Next, please follow the editor to study!
Only applicable in IDEA, no setting is required in eclipse
First, enable the 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 + A
TYPE: Registry
Find the key compiler.automake.allow.when.app.running and enable it
Note: Restart your application now
Two steps:
1. CTRL + SHIFT + A-- > find make project automatically-- > Select
2. CTRL + SHIFT + A-- > find Registry-- > find and check compiler.automake.allow.when.app.running
Of course, add the spring development kit to pom.xml
Org.springframework.boot spring-boot-devtools true runtime
At this point, the study on "the solution to the problem of invalid hot deployment of Springboot in Idea" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!