使用IntelIJ和SBT构建scala项目时出错

使用IntelIJ和SBT构建scala项目时出错,sbt,Sbt,我在Mac机器上使用intelIJ构建scala项目时出错 sbt --version sbt version in this project: 1.3.8 sbt script version: 1.3. 下面是我在IDE中遇到的错误,很多包没有下载 [info] Resolving com.typesafe.play#sbt-plugin;2.3.8 ... [info] Resolving com.typesafe.play#routes-compiler_2.10;2.3.8 ...

我在Mac机器上使用intelIJ构建scala项目时出错

sbt --version

sbt version in this project: 1.3.8
sbt script version: 1.3.
下面是我在IDE中遇到的错误,很多包没有下载

[info] Resolving com.typesafe.play#sbt-plugin;2.3.8 ...
[info] Resolving com.typesafe.play#routes-compiler_2.10;2.3.8 ...
[info] Resolving org.scala-lang#scala-library;2.10.4 ...
[info] Resolving commons-io#commons-io;2.0.1 ...
[error] SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/commons-io/commons-io/2.0.1/commons-io-2.0.1.pom
我不确定http url是从哪里获取的,在搜索时我得到了一个命令来列出sbt的解析程序,它确实显示了https

sbt:root-0-13> show externalResolvers
[info] * FileRepository(local, Patterns(ivyPatterns=Vector(${ivy.home}/local/[organisation]/[module]/(scala_[scalaVersion]/)(sbt_[sbtVersion]/)([branch]/)[revision]/[type]s/[artifact](-[classifier]).[ext]), artifactPatterns=Vector(${ivy.home}/local/[organisation]/[module]/(scala_[scalaVersion]/)(sbt_[sbtVersion]/)([branch]/)[revision]/[type]s/[artifact](-[classifier]).[ext]), isMavenCompatible=false, descriptorOptional=false, skipConsistencyCheck=false), FileConfiguration(true, None))
[info] * public: https://repo1.maven.org/maven2/

有人可以分享一些关于如何解决此错误的信息吗?

显示解析程序的输出是什么?
sbt:v2>显示解析程序[info]*
这是我在解析程序中看到的。哦,您使用的是一个非常旧的播放版本,可能会将这些解析程序添加到项目构建中。
项目中的.sbt文件中有什么内容?也许这能起作用:这个对我有帮助。没有~/.sbt/repositories文件,如前所述添加了maven central,它为帮助提供了帮助!!