springboot热部署

    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-devtools</artifactId>
        <optional>true</optional>
    </dependency>

image

application.properties:
spring.devtools.restart.enabled=true
spring.devtools.restart.additional-paths=src/main/java

image

image

posted @ 2022-11-19 12:13  yangstar  阅读(14)  评论(0编辑  收藏  举报