0


IDEA2023.3.4开启SpringBoot项目的热部署【简单明了4步操作】

添加devtools依赖

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

IDEA开启自动编译

在这里插入图片描述

开启运行中热部署

低版本需要双击shift搜索registry
在这里插入图片描述
在这里插入图片描述

高版本设置如下所示
在这里插入图片描述

DeBug启动项目

在这里插入图片描述

标签: spring boot

本文转载自: https://blog.csdn.net/weixin_45364220/article/details/136153563
版权归原作者 你去把唐僧使徒除掉 所有, 如有侵权,请联系我们删除。

“IDEA2023.3.4开启SpringBoot项目的热部署【简单明了4步操作】”的评论:

还没有评论