在 ubuntu 上运行程序集时,Sbt 下载失败 [英] Sbt download fails when running assembly on ubuntu
本文介绍了在 ubuntu 上运行程序集时,Sbt 下载失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我使用以下说明安装 sbt:
I used the following instructions to install sbt:
http://www.scala-sbt.org/0.13/docs/Installing-sbt-on-Linux.html
核心命令是:
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 642AC823
sudo apt-get update
sudo apt-get install sbt
这些成功了.
然后当我第一次尝试使用 sbt assembly
时发生以下情况:
Then when I try to use sbt assembly
for the first time the following occurs:
[SUCCESSFUL ] org.scala-sbt#apply-macro;0.13.11!apply-macro.jar (1991ms)
:: problems summary ::
:::: WARNINGS
[FAILED ] org.scala-sbt#collections;0.13.11!collections.jar: Invalid TLS padding data (784ms)
[FAILED ] org.scala-sbt#collections;0.13.11!collections.jar: Invalid TLS padding data (784ms)
..
:: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
download failed: org.scala-sbt#collections;0.13.11!collections.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
Error during sbt execution: Error retrieving required libraries
(see /home/stephen/.sbt/boot/update.log for complete log)
Error: Could not retrieve sbt 0.13.11
所以..有什么步骤可以让sbt开心吗?我使用的是 ubuntu 14.0.4.1 LTS.
So .. any steps missing to make sbt happy? I am on ubuntu 14.0.4.1 LTS.
推荐答案
显然这是一个暂时的连接问题.等待一段时间后重新尝试 sbt assembly 能够下载丢失的组件,然后成功.
Apparently this was a transient connectivity issue. After waiting some time and re-trying sbt assembly was able to download the missing components and then succeed.
这篇关于在 ubuntu 上运行程序集时,Sbt 下载失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文