springboot project idea in hot deployment (without restarting the project to achieve changes to take effect)

Add dependent

<dependency>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-devtools</artifactId>
</dependency>

Modify settings

Here Insert Picture Description

Modify Registry

ctrl + shift + alt + / exhale Registry, and then provided as
Here Insert Picture Description
finished modifying the code would not restart, it is convenient

Published 236 original articles · won praise 10 · views 10000 +

Guess you like

Origin blog.csdn.net/gunsmoke/article/details/104663841