IDEA 2022 开启热部署

POM.XML
<dependency>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-devtools</artifactId>
    <scope>runtime</scope>
    <optional>true</optional>
</dependency>



<build>
    <plugins>
        <plugin>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-maven-plugin</artifactId>
            <configuration>

                <addResources>true</addResources>
            </configuration>
        </plugin>
    </plugins>
</build>

 

 

 

设置--高级设置 开启运行时自动make

 

 

 



posted on 2023-02-05 14:50  hztech  阅读(210)  评论(0编辑  收藏  举报

导航