根据谷歌的答案做了以下修改:
vim ~/.sbt/repositories
[repositories]
local
aliyun-nexus: http://maven.aliyun.com/nexus/content/groups/public/
typesafe: http://repo.typesafe.com/typesafe/ivy-releases/, [organization]/[module]/(scala_[scalaVersion]/)(sbt_[sbtVersion]/) [revision]/[type]s/artifact.[ext], bootOnly
sonatype-oss-releases
maven-central
sonatype-oss-snapshots
修改 idea preferences -> sbt -> vm parameters ->
-Dsbt.override.build.repos=true
-Dsbt.repository.config=~/.sbt/repositories
打印的日志截取其中一条: [info] downloading https://repo1.maven.org/maven2/org/apache/hadoop/hadoop-common/2.7.7/hadoop-common-2.7.7.jar ...
发现源并没有修改成功, 请问下有遇到同样问题的老哥吗?
1
scalaer OP 加班在线等, 😢, 苦逼..
|
2
scalaer OP 有老哥能帮忙看看吗?
|