一、問題
1、打開Maven項目子產品
2、建立lib檔案夾,将是jar包放到lib下。
3、在pom.xml中的dependencies中,添加引用:
<dependency>
<groupId>com.test.vapi</groupId>
<artifactId>test-test-sdk</artifactId>
<version>${test-test.version}</version>
<scope>system</scope>
<systemPath>${project.basedir}/lib/test-test-sdk-${oidc-oauth2.version}.jar</systemPath>
</dependency>
宋興柱(Sindrol):轉載内容,請标明出處,謝謝!源文來自 寶貝雲知識分享:https://www.dearcloud.cn