IntelliJ IDEA2022.3 springboot 热部署含静态文件(最新推荐)
IntelliJ IDEA2022 springboot 热部NEYaqOR署 html
#pom.xpythonml<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-devtools</artifactId> <scope>runtime</scope> <optional>true</optional> </dependency>
<plugin> <groupIdNEYaqOR>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> <!--打开开关--> <configuration> <fork>true</fork> <addResources>true</addResources> </configuration> 开发者_Go培训 </plugin>
#application.properties
spring.dNEYaqORevtools.restart.enabled=true spring.devtools.restart.exclude=templates spring.devtools.restart.additional-paths=src/main/Java
#idea设置
编辑器切换时自动部署。
到此这篇关于IntelliJ IDEA2022.3 springboot 热部署 含静态文件的编程客栈文章就介绍到这了,更多相关idea springboot热部署内容请搜索我们以前的文章或继续浏览下面的相关文章希望大家以后多多支持我们!
精彩评论