SpringBoot系列之二intelliJ idea 配置Spring boot 热部署
来源:互联网 发布:人力资源管理专业知乎 编辑:程序博客网 时间:2024/05/16 11:53
一.添加依赖
<!-- 启动热部署1.当代码改变 保存时 --><dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-devtools</artifactId> <optional>true</optional> <scope>true</scope></dependency>
二.添加插件
<build><plugins> <!-- maven 插件 添加spring-boot-maven-plugin: --> <plugin><groupId>org.springframework.boot</groupId><artifactId>spring-boot-maven-plugin</artifactId><configuration> <fork>true</fork></configuration> </plugin></plugins></build>
三.开启idea自动make功能
1.Idea默认没有开启自动编译功能,要按一下Ctrl+F9(build==>build product)
Ctrl+Shift+A查询make project automatically
2.CTRL + SHIFT + A --> 查找Registry
勾选compiler.automake.allow.when.app.running
致此,就完成了对Springboot的热部署问题!
注意,单工程项目可以用此热部署,多项目最好不要用,问题很坑
0 0
- SpringBoot系列之二intelliJ idea 配置Spring boot 热部署
- Spring Boot + Intellij IDEA 热部署
- Intellij IDEA SpringBoot热部署 使用Spring-boot-devTools无效解决办法
- IntelliJ Idea 实现热部署 Spring Loaded spring-boot-devtools
- Spring boot 在Intellij IDEA 中的热部署
- Spring boot 在Intellij IDEA 中的热部署
- idea配置SpringBoot热部署
- Intellij IDEA SpringBoot项目热部署解决方案
- IntelliJ IDEA中实现SpringBoot热部署
- SpringBoot热部署-基于IntelliJ IDEA
- idea Spring boot 热部署
- idea spring-boot 热部署
- Spring Boot学习之旅:(三)springboot热部署
- idea gradle 配置spring boot dev-tools热部署
- spring boot 开发热部署配置 (idea IDE)
- idea gradle 配置spring boot dev-tools热部署
- 使用Intellij IDEA 开发 Spring-boot项目 热部署,自动部署
- Spring Boot热部署—SpringBoot + Devtools
- 【Hadoop】OpenTSDB部署
- mysql 启动报错--发现系统错误2,系统找不到指定的文件。
- Eclipse 报 "The builder launch configuration could not be found" 错误的解决办法
- 矩阵快速幂
- Android NDK编译C/C++为so共享对象
- SpringBoot系列之二intelliJ idea 配置Spring boot 热部署
- oracle 手工创建数据库
- EINTPEND等中断寄存器有关
- java Json解析和文件备份
- Android studio 通过build.gradle 配置打包签名文件,生成 xxx.apk
- 2D斜45度SLG游戏地图转换规则
- GitBook使用流程
- AnimatedRotateDrawable的简单使用
- git命令学习