Spring boot(一)IDEA热部署设置

springboot 1188 浏览

请输入图片描述

⌘ + ⇪ + A 输入make project automatically 并打钩

⌘ + ⇪ + A 输入Registry,找到 compiler.automake.allow.when.app.running并打钩

<dependency>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-devtools</artifactId>
    <optional>true</optional>
</dependency>
<build>
    <plugins>
        <plugin>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-maven-plugin</artifactId>
            <configuration>
                <fork>true</fork>
            </configuration>
        </plugin>
    </plugins>
</build>

关注微信公众号 "Kooola大数据" :) 聊人生 | 聊技术