Spring Boot project deployment hot loading in IDEA

What is hot reloading?

You can simply understand hot loading as IDEA will automatically deploy the project, and you don't need to re-run the project after writing the code yourself. To achieve the purpose of developing projects more quickly. Let's get down to it.

1. Introduce the dev-tools framework into the Spring Boot project
In fact, in this step, when creating a Spring Boot project, just select Spring Boot DevTools.
insert image description here

2.Settings to enable automatic project compilation
insert image description here
3. Enable running hot deployment

insert image description here
insert image description here
4. Click Debug to enable hot deployment
insert image description here
insert image description here

Guess you like

Origin blog.csdn.net/qq_39537400/article/details/124365025