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

添加devtools依赖

xml 复制代码
<dependency>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-devtools</artifactId>
    <scope>runtime</scope>
    <optional>true</optional>
</dependency>

IDEA开启自动编译

开启运行中热部署

低版本需要双击shift搜索registry

高版本设置如下所示

DeBug启动项目

相关推荐
又是忙碌的一天8 分钟前
SpringBoot 创建及登录、拦截器
java·spring boot·后端
计算机毕设VX:Fegn08951 小时前
计算机毕业设计|基于springboot + vue二手家电管理系统(源码+数据库+文档)
vue.js·spring boot·后端·课程设计
计算机学姐4 小时前
基于SpringBoot的校园资源共享系统【个性化推荐算法+数据可视化统计】
java·vue.js·spring boot·后端·mysql·spring·信息可视化
廋到被风吹走4 小时前
【Spring】Spring Boot 配置管理深度指南:Profile、类型安全与加密
spring boot·安全·spring
BD_Marathon4 小时前
SpringBoot程序快速启动
java·spring boot·后端
万物皆字节5 小时前
Spring Cloud Gateway 启动流程源码分析
java·开发语言·spring boot
a程序小傲5 小时前
得物Java面试被问:方法句柄(MethodHandle)与反射的性能对比和底层区别
java·开发语言·spring boot·后端·python·面试·职场和发展
沙白猿5 小时前
Redis报错:A bean with that name has already been defined in class path resource
spring boot·redis·mybatis
+VX:Fegn08956 小时前
计算机毕业设计|基于springboot + vue物流配送中心信息化管理系统(源码+数据库+文档)
数据库·vue.js·spring boot·后端·小程序·课程设计
计算机毕设指导66 小时前
基于微信小程序的钓鱼论坛系统【源码文末联系】
java·spring boot·mysql·微信小程序·小程序·tomcat·maven