SpringBoot在Idea中如何配置热部署流程详细解析?
- 内容介绍
- 文章标签
- 相关推荐
本文共计225个文字,预计阅读时间需要1分钟。
在 IntelliJ IDEA 2019.2.3(Ultimate Edition)中,修改 `1.pom` 文件以添加依赖项,步骤如下:
1. 打开 `1.pom` 文件。
2.在文件中添加以下依赖项:
xml
org.springframework.boot spring-boot-devtools true true3. 保存文件。
idea版本
IntelliJ IDEA 2019.2.3 (Ultimate Edition)
1.pom文件加依赖
<!--热部署--> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-devtools</artifactId> <optional>true</optional> <scope>true</scope> </dependency>
2.Ctrl+Alt+S设置 修改Compiler项
3.Ctrl+Shift+Alt+/ 选择Registry
4.勾选后close
5.重启或者重新打开项目
JRebel插件更方便.
以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持易盾网络。
本文共计225个文字,预计阅读时间需要1分钟。
在 IntelliJ IDEA 2019.2.3(Ultimate Edition)中,修改 `1.pom` 文件以添加依赖项,步骤如下:
1. 打开 `1.pom` 文件。
2.在文件中添加以下依赖项:
xml
org.springframework.boot spring-boot-devtools true true3. 保存文件。
idea版本
IntelliJ IDEA 2019.2.3 (Ultimate Edition)
1.pom文件加依赖
<!--热部署--> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-devtools</artifactId> <optional>true</optional> <scope>true</scope> </dependency>
2.Ctrl+Alt+S设置 修改Compiler项
3.Ctrl+Shift+Alt+/ 选择Registry
4.勾选后close
5.重启或者重新打开项目
JRebel插件更方便.
以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持易盾网络。

