scala - FIRRTL 存储库下载失败

标签 scala ubuntu jar download sbt

我安装了 sbt 以下是:http://www.scala-sbt.org/release/docs/Installing-sbt-on-Linux.html

现在,我正在尝试获取 菲尔特设置

https://github.com/ucb-bar/firrtl

但是“sbt compile”会抛出一个错误:

        ::::::::::::::::::::::::::::::::::::::::::::::
    ::              FAILED DOWNLOADS            ::
    :: ^ see resolution messages for details  ^ ::
    ::::::::::::::::::::::::::::::::::::::::::::::
    :: org.scala-sbt#main;0.13.11!main.jar
    :: org.scala-sbt#actions;0.13.11!actions.jar
    :: org.scala-sbt#io;0.13.11!io.jar
    :: org.scala-sbt#completion;0.13.11!completion.jar
    :: org.scala-sbt#collections;0.13.11!collections.jar
    :: org.scala-sbt#api;0.13.11!api.jar
    :: org.scala-sbt#incremental-compiler;0.13.11!incremental-compiler.jar
    :: org.scala-sbt#compile;0.13.11!compile.jar
    :: org.scala-sbt#ivy;0.13.11!ivy.jar
    :: org.scala-sbt#main-settings;0.13.11!main-settings.jar
    :: org.scala-sbt#command;0.13.11!command.jar
    :: org.scala-sbt#compiler-interface;0.13.11!compiler-interface.jar
    ::::::::::::::::::::::::::::::::::::::::::::::

:: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
download failed: org.scala-sbt#main;0.13.11!main.jar
download failed: org.scala-sbt#actions;0.13.11!actions.jar
download failed: org.scala-sbt#io;0.13.11!io.jar
download failed: org.scala-sbt#completion;0.13.11!completion.jar
download failed: org.scala-sbt#collections;0.13.11!collections.jar
download failed: org.scala-sbt#api;0.13.11!api.jar
download failed: org.scala-sbt#incremental-compiler;0.13.11!incremental-compiler.jar
download failed: org.scala-sbt#compile;0.13.11!compile.jar
download failed: org.scala-sbt#ivy;0.13.11!ivy.jar
download failed: org.scala-sbt#main-settings;0.13.11!main-settings.jar
download failed: org.scala-sbt#command;0.13.11!command.jar
download failed: org.scala-sbt#compiler-interface;0.13.11!compiler-interface.jar
Error during sbt execution: Error retrieving required libraries
  (see /home/user/.sbt/boot/update.log for complete log)
Error: Could not retrieve sbt 0.13.11

某些文件下载失败,但我不知道为什么。
我找到的唯一相关帖子是this one .但我不确定这是否是连接问题...

重新安装和清洁整个东西并没有帮助......

我正在开发 ubuntu 16.04.1

最佳答案

该错误在 openjdk-9 的证书中。我找到了this post并执行以下操作来解决下载失败的问题:

卸载 OpenJDK 9 :

sudo apt-get remove openjdk-9-*

安装 OpenJDK 8 :
sudo apt-get install openjdk-8-jdk

重新安装 sbt : ( Reference )
echo "deb https://dl.bintray.com/sbt/debian /" | sudo tee -a /etc/apt/sources.list.d/sbt.list
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 2EE0EA64E40A89B84B2DF73499E82A75642AC823
sudo apt-get update
sudo apt-get install sbt

这样做之后,我能够执行
sbt compile

关于scala - FIRRTL 存储库下载失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40412313/

相关文章:

string - 字符串迭代器的意外行为

java - scala.collections.javaconverters._ 错误 : value map is not a member of java. util.Set

linux - 在 Ubuntu 16.04 LTS 上编译旧的 Linux 内核

java - Ant jar 任务 - 包含不在 basedir 下的文件

scala - 有人使用securesocial实现了死锁或任何其他授权机制吗?

scala - Spark : Save Dataframe in ORC format

php - Mongo/PHP 包装器错误 - 我如何让包装器工作?

Java 闪烁光标 Ubuntu 终端

java - 来自 Oozie Java 工作的电子邮件

netbeans - Java .jar 文件和依赖项