maven引入链路追踪依赖(blade-starter-trace)失败?

Blade 已结 2 1564
半路笙歌
半路笙歌 2020-06-22 15:13

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

 maven引入链路追踪依赖(blade-starter-trace)失败。


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

引入依赖成功,现在是引入zipkin服务的blade-starter-trace 依赖失败。


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

使用的是blade-x产品。

版本2.4.0。

应用在macos上


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

错误信息截图如下所示:

image.png

image.png


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

2条回答
  •  smallchill
    smallchill (楼主)
    2020-06-23 09:32

    nexus私服之前因为容量太大,把2.5.0之前的依赖都清空了。你如果需要依赖2.4.0,只需要去私服下载BladeX-Tool,本地install或者推送到自己的私服就行

    作者追问:2020-06-23 09:32

    好的 谢谢。我使用blade-tool把jar包自动生成了。但是现在mvn clean install失败。具体报错信息我提了个问题您能看下嘛?

    [INFO] BUILD FAILURE

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

    [INFO] Total time:  3.550 s

    [INFO] Finished at: 2020-06-24T11:29:46+08:00

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

    [ERROR] Failed to execute goal on project blade-auth: Could not resolve dependencies for project org.springblade:blade-auth:jar:2.4.0.RELEASE: Failure to find cn.zkml:common-service-api:jar:2.4.0.RELEASE 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-auth


提交回复