pom.xml 导入ojdbc6报错
生活随笔
收集整理的這篇文章主要介紹了
pom.xml 导入ojdbc6报错
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
Could not find artifact com.oracle:ojdbc6:pom:11.2.0.3 in central
解決:下載ojdbc6-11.2.0.3.jar?提取碼 xx01
?
到項目根目錄中執(zhí)行如下命令
mvn install:install-file -DgroupId=com.oracle -DartifactId=ojdbc6 -Dversion=11.2.0.3 -Dpackaging=jar -Dfile=D:\app\maven\repository\com\oracle\ojdbc6\11.2.0.3\ojdbc6-11.2.0.3.jar
?
命令參數說明:
install:可以將項目本身編譯并打包到本地倉庫
install-file:安裝文件
-Dfile=D:\ojdbc6.jar : 指定要打的包的文件位置
-DgroupId=com.oracle : 指定當前包的groupId為com.oracle
-DartifactId=ojdbc6 : 指定當前的artifactfactId為ojdbc6
-Dversion=11.2.0.3 : 指定當前包的版本為11.2.0.3
-DgeneratePom=true:是否生成pom文件
總結
以上是生活随笔為你收集整理的pom.xml 导入ojdbc6报错的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: HTTP协议之vary
- 下一篇: Teams Bot如何判断用户所在的时区