这个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.112.2.0.cloudera2 is missing, no dependency information available [WARNING] The POM for org.apache.spark:spark-streaming-kafka-0-10_2.112.2.0.cloudera2 is missing, no dependency information available [WARNING] The POM for org.apache.spark:spark-core_2.112.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:RsdCommon1.0: The following artifacts could not be resolved: org.apache.spark:spark-streaming_2.112.2.0.cloudera2, org.apache.spark:spark-streaming-kafka-0-10_2.112.2.0.cloudera2, org.apache.spark:spark-core_2.112.2.0.cloudera2: Failure to find org.apache.spark:spark-streaming_2.112.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
我遇到了这个问题,刚好在开源中国看到,希望能够得到阿里云官方的回复,请查看
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。