热部署

1.eclipse

pom

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

 --------------------------------------------

2.idea

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

在setting进行设置

 按ctrl +shift+Alt+/  打开Registry进行设置

原文地址:https://www.cnblogs.com/mm163/p/10697638.html