方法一:设置国内源(失败)创建~/.sbt/repositories文件。写入[repositories]localaliyun:http://maven.aliyun.com/nexus/content/groups/publictypesafe-ivy-releases:http://repo.