springboot entry - 1. hot deployment

Step one: setting

Here Insert Picture Description
Here Insert Picture Description

Step two: Registry

ctrl + shift + alt + /
Select Registry ...
Here Insert Picture Description

Step three: pom.xml

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

Step four: Update classes and resources

Here Insert Picture Description
Here Insert Picture Description

After updating the code to refresh your browser

Guess you like

Origin blog.csdn.net/dl674756321/article/details/91125907