如何设置Spring Boot项目实现热部署功能?
- 内容介绍
- 文章标签
- 相关推荐
本文共计209个文字,预计阅读时间需要1分钟。
热部署配置:- 载入开发工具:`dependency` - `groupId`: `org.springframework.boot` - `artifactId`: `spring-boot-devtools` - `optional`: `true`- `dependency`- 设置配置:`fork` `true`- `plugin` - `groupId`: `org.springframework.boot` - `artifactId`: `spring-boot-maven-plugin`
热部署:
载入开发工具:
<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-devtools</artifactId> <optional>true</optional> </dependency>
设置配置<fork>true</fork>:
<plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> <configuration> <fork>true</fork> </configuration> </plugin>
idea配置:
CTRL + SHIFT + ALT + / 打开注册表,勾选以下的标记。可直接搜索获取到。
总结
到此这篇关于idea+ springboot热部署的配置方法的文章就介绍到这了,更多相关idea springboot热部署内容请搜索易盾网络以前的文章或继续浏览下面的相关文章希望大家以后多多支持易盾网络!
本文共计209个文字,预计阅读时间需要1分钟。
热部署配置:- 载入开发工具:`dependency` - `groupId`: `org.springframework.boot` - `artifactId`: `spring-boot-devtools` - `optional`: `true`- `dependency`- 设置配置:`fork` `true`- `plugin` - `groupId`: `org.springframework.boot` - `artifactId`: `spring-boot-maven-plugin`
热部署:
载入开发工具:
<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-devtools</artifactId> <optional>true</optional> </dependency>
设置配置<fork>true</fork>:
<plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> <configuration> <fork>true</fork> </configuration> </plugin>
idea配置:
CTRL + SHIFT + ALT + / 打开注册表,勾选以下的标记。可直接搜索获取到。
总结
到此这篇关于idea+ springboot热部署的配置方法的文章就介绍到这了,更多相关idea springboot热部署内容请搜索易盾网络以前的文章或继续浏览下面的相关文章希望大家以后多多支持易盾网络!

