maven中spring-boot-dependencies变量名冲突
生活随笔
收集整理的這篇文章主要介紹了
maven中spring-boot-dependencies变量名冲突
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
2019獨角獸企業重金招聘Python工程師標準>>>
這兩天從頭搭建了一個基于maven的spring boot工程,工程中將spring boot的版本號已定義:
<properties><spring.version>1.5.14.RELEASE</spring.version> </properties>結果與spring-boot-dependencies中的spring.version沖突,導致引入了很多1.5.14.RELEASE版本的spring包,導致報錯
將上面的版本變量定義為
<spring.boot.version>1.5.14.RELEASE</spring.boot.version>即可
轉載于:https://my.oschina.net/u/436693/blog/1921022
總結
以上是生活随笔為你收集整理的maven中spring-boot-dependencies变量名冲突的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Spring系列之AOP分析之为目标类挑
- 下一篇: 多溴联苯醚内分泌干扰效应机制研究取得进展