SpringBoot在idea上的热部署步骤

SpringBoot工程热部署:

1,在pom.xml配置如下依赖:

<!--热部署配置-->
<dependency>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-devtools</artifactId>
</dependency>

2,设置idea自动编译:

3,然后按快捷键: Shift+Ctrl+Alt+/,选择Registry

猜你喜欢

转载自blog.csdn.net/weixin_42767087/article/details/88662351
今日推荐