Python 官方文档:入门教程 => 点击学习
IntelliJ idea2022 SpringBoot 热部署 html#pom.xml <dependency> <gr
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设置
编辑器切换时自动部署。
到此这篇关于IntelliJ IDEA2022.3 springboot 热部署 含静态文件的文章就介绍到这了,更多相关idea springboot热部署内容请搜索编程网以前的文章或继续浏览下面的相关文章希望大家以后多多支持编程网!
--结束END--
本文标题: IntelliJ IDEA2022.3 springboot 热部署含静态文件(最新推荐)
本文链接: https://www.lsjlt.com/news/178531.html(转载时请注明来源链接)
有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341
下载Word文档到电脑,方便收藏和打印~
2024-03-01
2024-03-01
2024-03-01
2024-02-29
2024-02-29
2024-02-29
2024-02-29
2024-02-29
2024-02-29
2024-02-29
回答
回答
回答
回答
回答
回答
回答
回答
回答
回答
0