开发者社区> 问答> 正文

这个spark-streamin几个 maven的 文件找不到,报错了,阿里云镜像都没有

这个spark-streamin几个 maven的  文件找不到,报错了,阿里云镜像都没有
<dependency>
    <groupId>org.apache.spark</groupId>
    <artifactId>spark-streaming_2.11</artifactId>
    <version>2.2.0.cloudera2</version>
    <scope>compile</scope>
</dependency>
<dependency>
    <groupId>org.apache.spark</groupId>
    <artifactId>spark-streaming-kafka-0-10_2.11</artifactId>
    <version>2.2.0.cloudera2</version>
    <scope>compile</scope>
</dependency>
<dependency>
    <groupId>org.apache.spark</groupId>
    <artifactId>spark-core_2.11</artifactId>
    <version>2.2.0.cloudera2</version>
    <scope>compile</scope>
</dependency>

[WARNING] The POM for org.apache.spark:spark-streaming_2.112.2.0.cloudera2 is missing, no dependency information available [WARNING] The POM for org.apache.spark:spark-streaming-kafka-0-10_2.112.2.0.cloudera2 is missing, no dependency information available [WARNING] The POM for org.apache.spark:spark-core_2.112.2.0.cloudera2 is missing, no dependency information available

[INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 7.896 s [INFO] Finished at: 2020-02-22T16:15:19+08:00 [INFO] Final Memory: 27M/266M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal on project RsdCommon: Could not resolve dependencies for project comg.rongan:RsdCommon1.0: The following artifacts could not be resolved: org.apache.spark:spark-streaming_2.112.2.0.cloudera2, org.apache.spark:spark-streaming-kafka-0-10_2.112.2.0.cloudera2, org.apache.spark:spark-core_2.112.2.0.cloudera2: Failure to find org.apache.spark:spark-streaming_2.112.2.0.cloudera2 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 [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn -rf :RsdCommon

Process finished with exit code 1

我遇到了这个问题,刚好在开源中国看到,希望能够得到阿里云官方的回复,请查看

展开
收起
因为相信,所以看见。 2020-05-23 11:54:14 619 0
0 条回答
写回答
取消 提交回答
问答排行榜
最热
最新

相关电子书

更多
Hybrid Cloud and Apache Spark 立即下载
Scalable Deep Learning on Spark 立即下载
Comparison of Spark SQL with Hive 立即下载

相关镜像