SpringBoot----Maven項目引入外部jar包

記練習springboot過程中,需要引入外部一些jar遇到的問題。

1. 在pom.xml中添加需要的jar。注意:<scope>與<systemPath>標籤必須


2.爲使之前配置生效,需要在maven-plugin中添加:

    <configuration>
          <includeSystemScope>true</includeSystemScope>

    </configuration>




至此,添加外部包完成。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章