在学 spark streaming 的内容,用 maven 构建的项目
在 pom.xml 里面添加了:
'''<repositories>
<repository>
<id>cloudera</id>
<url>https://repository.cloudera.com/artifactory/cloudera-repos</url>
</repository>
maven 的 setting 里面也添加了几个镜像,可是依然下载发生错误。到时发生:
Error:scalac: missing or invalid dependency detected while loading class file 'StreamingContext.class'.
Could not access type Configuration in value org.apache.hadoop.conf,
because it (or its dependencies) are missing.
Check your build definition for
missing or conflicting dependencies. (Re-run with -Ylog-classpath
to see the problematic classpath.)
A full rebuild may help if 'StreamingContext.class' was compiled against an incompatible version of org.apache.hadoop.conf.
该怎么解决呢?
1
AslanFong OP 各位大佬,是不是只有换网络这条路可以走了?
下载速度极其之慢,大概要下载到 2020 年这样吧。。 |
2
blueskea 2019-02-18 12:56:39 +08:00 via Android
我用的笨方法,刷新 jar 包的时候,挂 vpn,下载完关掉 vpn。
|