spring-boot-devtools免费的热部署

1.pom文件中引入

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

2.在idea中 File–Settings–Commpiler勾选自动Build项目
在这里插入图片描述
3.Shift+Ctrl+Alt+?选着第一个注册
在这里插入图片描述
勾选并close
在这里插入图片描述

发布了172 篇原创文章 · 获赞 5 · 访问量 7079

猜你喜欢

转载自blog.csdn.net/shujuku____/article/details/104091771