idea springboot热部署无效问题
生活随笔
收集整理的這篇文章主要介紹了
idea springboot热部署无效问题
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
?
Intellij IDEA 使用Spring-boot-devTools無效解決辦法
springboot項目中遇到的bug
?
<dependencies><!--spring boot 熱加載--><dependency><groupId>org.springframework.boot</groupId><artifactId>spring-boot-devtools</artifactId><optional>true</optional><!-- optional=true,依賴不會傳遞,該項目依賴devtools;之后依賴myboot項目的項目如果想要使用devtools,需要重新引入 --></dependency> </dependencies><build><plugins><!--spring boot 打包插件--><plugin><groupId>org.springframework.boot</groupId><artifactId>spring-boot-maven-plugin</artifactId><configuration><mainClass>com.hjzgg.test.thirdjar.Application</mainClass><fork>true</fork></configuration><executions><execution><goals><goal>repackage</goal></goals></execution></executions></plugin></plugins> </build>?
轉載于:https://www.cnblogs.com/hujunzheng/p/7300496.html
總結
以上是生活随笔為你收集整理的idea springboot热部署无效问题的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: POJ 2312Battle City(
- 下一篇: 椰子粉的功效与作用的功效与副作用(椰子粉