-
核心依赖
java<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-devtools</artifactId> <scope>runtime</scope> <optional>true</optional> </dependency>
-
yaml配置
javaspring: ## 热部署 devtools: ## 重新启动false restart: enabled: false ## 热加载 true livereload: enabled: true
-
idea设置
-
验证
Idea 配合 devtools 依赖 实现热部署
斯普润布特2025-05-24 22:26
相关推荐
winrisef1 天前
删除无限递归文件夹海上生明月丿1 天前
在IDEA中使用Git小蕾Java1 天前
PyCharm快速上手指南,数据类型篇-雷阵雨-2 天前
数据结构——优先级队列(堆)快码加编~2 天前
无法解析插件 org.apache.maven.plugins:maven-site-plugin:3.12.1小蕾Java2 天前
IDEA快速上手指南!-雷阵雨-2 天前
数据结构——栈和队列(模拟实现)元气满满的霄霄2 天前
Spring Boot整合缓存——Redis缓存!超详细!moshumu12 天前
局域网访问Win11下的WSL中的jupyter notebookAevget2 天前
PHP智能开发工具PhpStorm v2025.2全新上线——支持PHPUnit 12等