Scalaz库的SBT Build失败

时间:2017-06-27 17:58:45

标签: scala sbt

我有一个sbt应用程序,当作为docker build运行时会导致以下错误:

[info] Resolving net.java#jvnet-parent;4 ...
[error] Server access Error: Connection timed out (Connection timed out) url=http://dl.bintray.com/scalaz/releases/net/java/jvnet-parent/4/jvnet-parent-4.jar

我确定我需要添加一些旋转变压器,但不确定是哪一个。同样奇怪的是,从scalaz到jvnet的路径是可怕的!

有什么想法吗?我的Scala版本是2.11.7!

1 个答案:

答案 0 :(得分:0)

实际上我没有依赖scalaz,所以我只需要替换build.sbt中的scalaz解析器:

resolvers += "sonatype-releases" at "https://oss.sonatype.org/content/repositories/public/"
//resolvers += "scalaz-bintray" at "http://dl.bintray.com/scalaz/releases"