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
mysqlsniffer/pom.xml
或者把这个pom里的polardb-jdbc18依赖去掉再试试。此回答整理自钉群“阿里云 PolarDB-X 开源交流群”
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。
PolarDB 分布式版 (PolarDB for Xscale,简称“PolarDB-X”) 是阿里云自主设计研发的高性能云原生分布式数据库产品,为用户提供高吞吐、大存储、低延时、易扩展和超高可用的云时代数据库服务。