问题描述:
- 找不到jar包 Failure to find org.apache.flink:flink-fs-hadoop-shaded:jar:tests:1.11-byted-SNAPSHOT in https://maven.byted.org/repository/public was cached in the local repository, resolution will not be reattempted until the update interval of bytedance-mirror has elapsed or updates are forced
Failure to find org.apache.flink:flink-fs-hadoop-shaded:jar:tests:1.11-byted-SNAPSHOT in https:

本文档详细记录了在编译Flink 1.12时遇到的flink-fs-hadoop-shaded jar包缺失问题。问题源于使用-Dmaven.test.skip=true导致的。解决方案是改用-DskipTests参数,它会编译测试用例但不执行,避免了找不到jar包的错误。若之后出现运行测试代码报错,可通过取消maven profile中java11的勾选并重新编译来解决。
最低0.47元/天 解锁文章
876

被折叠的 条评论
为什么被折叠?



