IntelliJ IDEA下SpringBoot应用实现热部署

1、IntelliJ IDEA配制

IntelliJ IDEA下SpringBoot应用实现热部署_第1张图片
Ctrl+Shift+Alt+/ 进入Registry
IntelliJ IDEA下SpringBoot应用实现热部署_第2张图片
IntelliJ IDEA下SpringBoot应用实现热部署_第3张图片

2.引入devtool依赖

 <dependency>
   <groupId>org.springframework.bootgroupId>
    <artifactId>spring-boot-devtoolsartifactId>
    <optional>trueoptional>
dependency>

你可能感兴趣的:(IDE,intellij,idea)