IntelliJ IDEA2022.3 springboot 热部署含静态文件(最新推荐)
作者:find_6 时间:2023-07-07 10:41:58
IntelliJ IDEA2022 springboot 热部署 html
#pom.xml
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<scope>runtime</scope>
<optional>true</optional>
</dependency>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<!--打开开关-->
<configuration>
<fork>true</fork>
<addResources>true</addResources>
</configuration>
</plugin>
#application.properties
spring.devtools.restart.enabled=true
spring.devtools.restart.exclude=templates
spring.devtools.restart.additional-paths=src/main/java
#idea设置
编辑器切换时自动部署。
来源:https://blog.csdn.net/find_6/article/details/128372228
标签:idea,springboot,热部署,静态文件
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
Unity 实现给物体替换材质球
2023-06-28 05:28:24
![](https://img.aspxhome.com/file/2023/4/104334_0s.jpg)
详解spring boot 使用application.properties 进行外部配置
2023-02-13 02:09:11
![](https://img.aspxhome.com/file/2023/7/125227_0s.png)
android实现滚动文本效果
2022-02-02 16:49:36
![](https://img.aspxhome.com/file/2023/8/139378_0s.gif)
Android开发之使用ExifInterface获取拍照后的图片属性
2021-05-29 23:36:36
Java IO流—异常及捕获异常处理 try…catch…finally
2023-03-14 07:35:52
![](https://img.aspxhome.com/file/2023/1/62401_0s.png)
mybatis-plus乐观锁实现方式详解
2022-09-27 16:12:27
![](https://img.aspxhome.com/file/2023/5/66175_0s.png)
java编写的文件管理器代码分享
2023-11-20 13:28:52
搭建简单的Spring-Data JPA项目
2023-04-05 01:06:30
Spring+Vue整合UEditor富文本实现图片附件上传的方法
2022-09-27 10:36:13
![](https://img.aspxhome.com/file/2023/3/78033_0s.png)
Java数据结构之队列(动力节点Java学院整理)
2021-09-22 04:58:19
![](https://img.aspxhome.com/file/2023/6/65746_0s.png)
程序员最喜欢的ThreadLocal使用姿势
2022-10-22 21:14:55
![](https://img.aspxhome.com/file/2023/3/129223_0s.jpg)
深入浅出讲解Java集合之Collection接口
2023-05-27 05:53:38
![](https://img.aspxhome.com/file/2023/2/89622_0s.png)
C#给PDF文件添加水印
2023-11-10 17:08:36
Java中instanceof关键字实例讲解
2023-08-04 07:48:31
![](https://img.aspxhome.com/file/2023/5/63305_0s.png)
android如何获取view在布局中的高度与宽度详解
2023-08-14 17:17:51
android编程之ip2id程序实例
2023-07-20 16:08:09
![](https://img.aspxhome.com/file/2023/1/138061_0s.png)
android利用剪切板传递数据
2022-06-24 06:37:40
Android实现页面跳转的全过程记录
2023-08-16 21:06:08
![](https://img.aspxhome.com/file/2023/9/110769_0s.jpg)
C语言 超详细总结讲解二叉树的概念与使用
2023-11-08 20:24:56
![](https://img.aspxhome.com/file/2023/2/120782_0s.webp)
Java实现Dijkstra输出最短路径的实例
2023-09-01 17:44:02