开发者社区 > PolarDB开源 > PolarDB 分布式版 > 正文

PolarDB-X frodo 编译提示找不到依赖 ,见过吗?

PolarDB-X frodo 编译提示找不到依赖 com.aliyun:polardb-jdbc18:ja,见过吗?
这个是刚刚跑的前面的error信息
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.866 s
[INFO] Finished at: 2024-08-07T17:21:16+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project mysqlsniffer: Could not resolve dependencies for project com.aliyun:mysqlsniffer:jar:1.1.29: Failure to find com.aliyun:polardb-jdbc18:jar:
1.1.2 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central 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
build.sh: 5: cd: can't cd to target
cp: cannot stat '../app.properties': No such file or directory
cp: cannot stat 'mysqlsniffer-*.jar': No such file or directory[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

展开
收起
嘟嘟嘟嘟嘟嘟 2024-08-14 08:00:36 43 0
1 条回答
写回答
取消 提交回答
  • mysqlsniffer/pom.xml
    或者把这个pom里的polardb-jdbc18依赖去掉再试试。此回答整理自钉群“阿里云 PolarDB-X 开源交流群”

    2024-08-14 10:34:46
    赞同 3 展开评论 打赏

PolarDB 分布式版 (PolarDB for Xscale,简称“PolarDB-X”) 是阿里云自主设计研发的高性能云原生分布式数据库产品,为用户提供高吞吐、大存储、低延时、易扩展和超高可用的云时代数据库服务。

相关产品

  • 云原生分布式数据库 PolarDB-X
  • 相关电子书

    更多
    云栖大会:开源 PolarDB 架构演进、关键技术与社区建设 立即下载
    2023云栖大会:和客户一起玩转PolarDB新特性 立即下载
    2023云栖大会:PolarDB for AI 立即下载