org.springblade:blade-core-db:jar:2.5.1.RELEASE 找不到

Blade 已结 1 1164
jues
jues 剑圣 2020-08-13 10:00

一、该问题的重现步骤是什么?

1.在Bladex-tool 中执行 mvn clean install 提示 org.springblade:blade-core-db:jar:2.5.1.RELEASE 查找失败

2. 我把项目中oracle注释掉可以执行成功image.png

3.


二、你期待的结果是什么?实际看到的又是什么?

可以正常执行mvn clean install


三、你正在使用的是什么产品,什么版本?在什么操作系统上?

bladex-tool

2.5.1

macos


四、请提供详细的错误堆栈信息,这很重要。

image.png


五、若有更多详细信息,请在下面提供。

[INFO] ------------------------------------------------------------------------

[INFO] Total time:  10.004 s

[INFO] Finished at: 2020-08-13T09:44:33+08:00

[INFO] ------------------------------------------------------------------------

[ERROR] Failed to execute goal on project blade-core-db: Could not resolve dependencies for project org.springblade:blade-core-db:jar:2.5.1.RELEASE: Failure to find com.oracle:ojdbc7:jar:12.2.0.1 in http://maven.aliyun.com/nexus/content/groups/public/ was cached in the local repository, resolution will not be reattempted until the update interval of alimaven has elapsed or updates are forced -> [Help 1]

[ERROR] 

[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.

[ERROR] Re-run Maven using the -X switch to enable full debug logging.

[ERROR] 

[ERROR] For more information about the errors and possible solutions, please read the following articles:

[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

[ERROR] 

[ERROR] After correcting the problems, you can resume the build with the command

[ERROR]   mvn <args> -rf :blade-core-db

➜  BladeX-Tool git:(master) mvn clean install

[INFO] Scanning for projects...


1条回答
  •  zhx1994
    zhx1994 (最佳回答者)
    2020-08-13 10:36

    低版本jar包私库没有了,你要拉tool项目本地install

    作者追问:2020-08-13 10:36

    我就是用的tool项目在本地install的  tool项目的版本是2.5.1 

    作者追问:2020-08-13 10:36

    image.png

    我失败的这两个jar包,在私服都是有的

    作者追问:2020-08-13 10:36

    我发现了项目下载依赖不走私服,但是我不知道为什么?我查了一遍私服的配置 项目中的应该没问题啊 实在是无奈

    作者追问:2020-08-13 10:36

    我发现问题了 我本地有两个maven  一个自带的在 和一个我安装的 但是我系统变量中配置的也是自己安装的 mvn version 也显示的是后安装的. 但是执行mvn clean package 就会走自带的setting配置。我把自带的setting文件 重命名或者删除就好了

    0 讨论(1)
提交回复