- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我正在尝试在 Ubuntu 16.04 上使用 sbt,但是在尝试运行它时出现错误。我进行了全新安装,然后完全按照 the sbt site 中的说明进行操作。 ,但是当我做 sbt
时得到以下信息:
Getting org.scala-sbt sbt 0.13.12 ...
downloading https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/main/0.13.12/jars/main.jar ...
downloading https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/compiler-interface/0.13.12/jars/compiler-interface.jar ...
downloading https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/actions/0.13.12/jars/actions.jar ...
downloading https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/main-settings/0.13.12/jars/main-settings.jar ...
downloading https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/io/0.13.12/jars/io.jar ...
downloading https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/ivy/0.13.12/jars/ivy.jar ...
downloading https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/command/0.13.12/jars/command.jar ...
downloading https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/completion/0.13.12/jars/completion.jar ...
downloading https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/api/0.13.12/jars/api.jar ...
downloading https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/collections/0.13.12/jars/collections.jar ...
downloading https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/incremental-compiler/0.13.12/jars/incremental-compiler.jar ...
downloading https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/compile/0.13.12/jars/compile.jar ...
:: problems summary ::
:::: WARNINGS
[FAILED ] org.scala-sbt#main;0.13.12!main.jar: sun.security.validator.ValidatorException: No trusted certificate found (1180ms)
[FAILED ] org.scala-sbt#main;0.13.12!main.jar: (0ms)
==== local: tried
/home/james/.ivy2/local/org.scala-sbt/main/0.13.12/jars/main.jar
==== Maven Central: tried
https://repo1.maven.org/maven2/org/scala-sbt/main/0.13.12/main-0.13.12.jar
==== typesafe-ivy-releases: tried
https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/main/0.13.12/jars/main.jar
==== sbt-ivy-snapshots: tried
https://repo.scala-sbt.org/scalasbt/ivy-snapshots/org.scala-sbt/main/0.13.12/jars/main.jar
[FAILED ] org.scala-sbt#compiler-interface;0.13.12!compiler-interface.jar: sun.security.validator.ValidatorException: No trusted certificate found (577ms)
[FAILED ] org.scala-sbt#compiler-interface;0.13.12!compiler-interface.jar: (0ms)
==== local: tried
/home/james/.ivy2/local/org.scala-sbt/compiler-interface/0.13.12/jars/compiler-interface.jar
==== Maven Central: tried
https://repo1.maven.org/maven2/org/scala-sbt/compiler-interface/0.13.12/compiler-interface-0.13.12.jar
==== typesafe-ivy-releases: tried
https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/compiler-interface/0.13.12/jars/compiler-interface.jar
==== sbt-ivy-snapshots: tried
https://repo.scala-sbt.org/scalasbt/ivy-snapshots/org.scala-sbt/compiler-interface/0.13.12/jars/compiler-interface.jar
[FAILED ] org.scala-sbt#actions;0.13.12!actions.jar: sun.security.validator.ValidatorException: No trusted certificate found (569ms)
[FAILED ] org.scala-sbt#actions;0.13.12!actions.jar: (0ms)
==== local: tried
/home/james/.ivy2/local/org.scala-sbt/actions/0.13.12/jars/actions.jar
==== Maven Central: tried
https://repo1.maven.org/maven2/org/scala-sbt/actions/0.13.12/actions-0.13.12.jar
==== typesafe-ivy-releases: tried
https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/actions/0.13.12/jars/actions.jar
==== sbt-ivy-snapshots: tried
https://repo.scala-sbt.org/scalasbt/ivy-snapshots/org.scala-sbt/actions/0.13.12/jars/actions.jar
[FAILED ] org.scala-sbt#main-settings;0.13.12!main-settings.jar: sun.security.validator.ValidatorException: No trusted certificate found (666ms)
[FAILED ] org.scala-sbt#main-settings;0.13.12!main-settings.jar: (0ms)
==== local: tried
/home/james/.ivy2/local/org.scala-sbt/main-settings/0.13.12/jars/main-settings.jar
==== Maven Central: tried
https://repo1.maven.org/maven2/org/scala-sbt/main-settings/0.13.12/main-settings-0.13.12.jar
==== typesafe-ivy-releases: tried
https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/main-settings/0.13.12/jars/main-settings.jar
==== sbt-ivy-snapshots: tried
https://repo.scala-sbt.org/scalasbt/ivy-snapshots/org.scala-sbt/main-settings/0.13.12/jars/main-settings.jar
[FAILED ] org.scala-sbt#io;0.13.12!io.jar: sun.security.validator.ValidatorException: No trusted certificate found (597ms)
[FAILED ] org.scala-sbt#io;0.13.12!io.jar: (0ms)
==== local: tried
/home/james/.ivy2/local/org.scala-sbt/io/0.13.12/jars/io.jar
==== Maven Central: tried
https://repo1.maven.org/maven2/org/scala-sbt/io/0.13.12/io-0.13.12.jar
==== typesafe-ivy-releases: tried
https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/io/0.13.12/jars/io.jar
==== sbt-ivy-snapshots: tried
https://repo.scala-sbt.org/scalasbt/ivy-snapshots/org.scala-sbt/io/0.13.12/jars/io.jar
[FAILED ] org.scala-sbt#ivy;0.13.12!ivy.jar: sun.security.validator.ValidatorException: No trusted certificate found (644ms)
[FAILED ] org.scala-sbt#ivy;0.13.12!ivy.jar: (0ms)
==== local: tried
/home/james/.ivy2/local/org.scala-sbt/ivy/0.13.12/jars/ivy.jar
==== Maven Central: tried
https://repo1.maven.org/maven2/org/scala-sbt/ivy/0.13.12/ivy-0.13.12.jar
==== typesafe-ivy-releases: tried
https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/ivy/0.13.12/jars/ivy.jar
==== sbt-ivy-snapshots: tried
https://repo.scala-sbt.org/scalasbt/ivy-snapshots/org.scala-sbt/ivy/0.13.12/jars/ivy.jar
[FAILED ] org.scala-sbt#command;0.13.12!command.jar: sun.security.validator.ValidatorException: No trusted certificate found (762ms)
[FAILED ] org.scala-sbt#command;0.13.12!command.jar: (0ms)
==== local: tried
/home/james/.ivy2/local/org.scala-sbt/command/0.13.12/jars/command.jar
==== Maven Central: tried
https://repo1.maven.org/maven2/org/scala-sbt/command/0.13.12/command-0.13.12.jar
==== typesafe-ivy-releases: tried
https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/command/0.13.12/jars/command.jar
==== sbt-ivy-snapshots: tried
https://repo.scala-sbt.org/scalasbt/ivy-snapshots/org.scala-sbt/command/0.13.12/jars/command.jar
[FAILED ] org.scala-sbt#completion;0.13.12!completion.jar: sun.security.validator.ValidatorException: No trusted certificate found (594ms)
[FAILED ] org.scala-sbt#completion;0.13.12!completion.jar: (0ms)
==== local: tried
/home/james/.ivy2/local/org.scala-sbt/completion/0.13.12/jars/completion.jar
==== Maven Central: tried
https://repo1.maven.org/maven2/org/scala-sbt/completion/0.13.12/completion-0.13.12.jar
==== typesafe-ivy-releases: tried
https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/completion/0.13.12/jars/completion.jar
==== sbt-ivy-snapshots: tried
https://repo.scala-sbt.org/scalasbt/ivy-snapshots/org.scala-sbt/completion/0.13.12/jars/completion.jar
[FAILED ] org.scala-sbt#api;0.13.12!api.jar: sun.security.validator.ValidatorException: No trusted certificate found (585ms)
[FAILED ] org.scala-sbt#api;0.13.12!api.jar: (0ms)
==== local: tried
/home/james/.ivy2/local/org.scala-sbt/api/0.13.12/jars/api.jar
==== Maven Central: tried
https://repo1.maven.org/maven2/org/scala-sbt/api/0.13.12/api-0.13.12.jar
==== typesafe-ivy-releases: tried
https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/api/0.13.12/jars/api.jar
==== sbt-ivy-snapshots: tried
https://repo.scala-sbt.org/scalasbt/ivy-snapshots/org.scala-sbt/api/0.13.12/jars/api.jar
[FAILED ] org.scala-sbt#collections;0.13.12!collections.jar: sun.security.validator.ValidatorException: No trusted certificate found (568ms)
[FAILED ] org.scala-sbt#collections;0.13.12!collections.jar: (0ms)
==== local: tried
/home/james/.ivy2/local/org.scala-sbt/collections/0.13.12/jars/collections.jar
==== Maven Central: tried
https://repo1.maven.org/maven2/org/scala-sbt/collections/0.13.12/collections-0.13.12.jar
==== typesafe-ivy-releases: tried
https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/collections/0.13.12/jars/collections.jar
==== sbt-ivy-snapshots: tried
https://repo.scala-sbt.org/scalasbt/ivy-snapshots/org.scala-sbt/collections/0.13.12/jars/collections.jar
[FAILED ] org.scala-sbt#incremental-compiler;0.13.12!incremental-compiler.jar: sun.security.validator.ValidatorException: No trusted certificate found (672ms)
[FAILED ] org.scala-sbt#incremental-compiler;0.13.12!incremental-compiler.jar: (0ms)
==== local: tried
/home/james/.ivy2/local/org.scala-sbt/incremental-compiler/0.13.12/jars/incremental-compiler.jar
==== Maven Central: tried
https://repo1.maven.org/maven2/org/scala-sbt/incremental-compiler/0.13.12/incremental-compiler-0.13.12.jar
==== typesafe-ivy-releases: tried
https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/incremental-compiler/0.13.12/jars/incremental-compiler.jar
==== sbt-ivy-snapshots: tried
https://repo.scala-sbt.org/scalasbt/ivy-snapshots/org.scala-sbt/incremental-compiler/0.13.12/jars/incremental-compiler.jar
[FAILED ] org.scala-sbt#compile;0.13.12!compile.jar: sun.security.validator.ValidatorException: No trusted certificate found (587ms)
[FAILED ] org.scala-sbt#compile;0.13.12!compile.jar: (0ms)
==== local: tried
/home/james/.ivy2/local/org.scala-sbt/compile/0.13.12/jars/compile.jar
==== Maven Central: tried
https://repo1.maven.org/maven2/org/scala-sbt/compile/0.13.12/compile-0.13.12.jar
==== typesafe-ivy-releases: tried
https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/compile/0.13.12/jars/compile.jar
==== sbt-ivy-snapshots: tried
https://repo.scala-sbt.org/scalasbt/ivy-snapshots/org.scala-sbt/compile/0.13.12/jars/compile.jar
::::::::::::::::::::::::::::::::::::::::::::::
:: FAILED DOWNLOADS ::
:: ^ see resolution messages for details ^ ::
::::::::::::::::::::::::::::::::::::::::::::::
:: org.scala-sbt#main;0.13.12!main.jar
:: org.scala-sbt#actions;0.13.12!actions.jar
:: org.scala-sbt#io;0.13.12!io.jar
:: org.scala-sbt#completion;0.13.12!completion.jar
:: org.scala-sbt#collections;0.13.12!collections.jar
:: org.scala-sbt#api;0.13.12!api.jar
:: org.scala-sbt#incremental-compiler;0.13.12!incremental-compiler.jar
:: org.scala-sbt#compile;0.13.12!compile.jar
:: org.scala-sbt#ivy;0.13.12!ivy.jar
:: org.scala-sbt#main-settings;0.13.12!main-settings.jar
:: org.scala-sbt#command;0.13.12!command.jar
:: org.scala-sbt#compiler-interface;0.13.12!compiler-interface.jar
::::::::::::::::::::::::::::::::::::::::::::::
:: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
download failed: org.scala-sbt#main;0.13.12!main.jar
download failed: org.scala-sbt#actions;0.13.12!actions.jar
download failed: org.scala-sbt#io;0.13.12!io.jar
download failed: org.scala-sbt#completion;0.13.12!completion.jar
download failed: org.scala-sbt#collections;0.13.12!collections.jar
download failed: org.scala-sbt#api;0.13.12!api.jar
download failed: org.scala-sbt#incremental-compiler;0.13.12!incremental-compiler.jar
download failed: org.scala-sbt#compile;0.13.12!compile.jar
download failed: org.scala-sbt#ivy;0.13.12!ivy.jar
download failed: org.scala-sbt#main-settings;0.13.12!main-settings.jar
download failed: org.scala-sbt#command;0.13.12!command.jar
download failed: org.scala-sbt#compiler-interface;0.13.12!compiler-interface.jar
Error during sbt execution: Error retrieving required libraries
(see /home/james/.sbt/boot/update.log for complete log)
Error: Could not retrieve sbt 0.13.12
sudo sbt
,这没有什么区别(如果是权限错误)。我应该注意到一些下载成功。
最佳答案
在 Ubuntu 上,当你有包 openjdk-9-jre-headless
安装后,sbt 无法验证其下载,因为它们没有根据 OpenJDK 9 证书进行签名。要解决此问题,您需要卸载 OpenJDK 9:
$ apt-get remove openjdk-9-*
openjdk-8-jre-headless
安装并使用
update-java-alternatives
选择它作为默认 JRE(查看
https://askubuntu.com/a/731862/459610 了解详细信息)。
关于scala - 下载异常 : sun. security.validator.ValidatorException:未找到受信任的证书,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40165525/
我每天运行命令将新记录插入 BigQuery 表,并想记录每天插入的记录数。 我创建了一个 QueryJob包含 SELECT 查询和 destination 表的对象。我将 write_dispos
当您登录受密码保护的页面时,WordPress 会设置一个类似于 wp-postpass_hash 的 cookie。 这个 cookie 似乎永远存在。我希望能够为用户提供“注销”链接。如果我不知道
我正在用 C++ 设计一个公共(public) API,我相信我想保留 C++ 属性函数样式约定,它们看起来像 int& Value() 和 const int& Value() const 而不是按
我正在构建一个使用 jQuery 图片库的网站。你可以看一个例子 here . 出于某种原因,当画廊更改图像时,或者当您手动更改图像时,页面高度似乎因为需要更好的词而“闪烁”。新图像似乎增加了页面高度
我正在尝试使用 CSS3 实现一个简单的 3D 照片库。它在 IE10+ 浏览器上运行良好,但在最新版本的 chrome 上有一个小错误,即单击时按钮消失。谁能告诉我如何解决这个问题?提前谢谢你。 w
我想知道为什么其中一些程序会抛出段错误,而另一些则不会。 这个程序抛出一个段错误: #include int main(){ int ar[2096263]; printf("asd
今天我移植了我的旧内存基准测试 从 Borland C++ builder 5.0 到 BDS2006 Turbo C++,发现奇怪的事情。 BCB5 的 exe 运行正常且稳定 来自 BDS2006
下面是我的代码,用于解决 PE 问题 7(“找到第 10001 个素数”): #include using namespace std; bool isPrime(int n, int primes
我有两个 float 元素,右边和左边。 它们的父元素都是 text-align: center, margin: auto: 1. text 999 ' style='curso
我正在为我的 UI 元素制作一个简单的动画。 我有一个动画组件,它有 2 个不同的动画 - ZoomIn 和 ZoomOut。 每当需要在屏幕上显示 UI 元素(例如按钮)时,就会显示这些动画。 我通
我正在使用 .net 3.5 和 vb.net。我对下面提到的每种加密的内部工作知之甚少。我只使用 .net 类库中提供的类。 我有一段信息已经用 TripleDes 加密,然后是 Rijndael,
我有一个关于正确设计 php 文件及其在服务器上的存储的一般性问题。 问题是这样的:我将一个 php 对象的函数拆分到不同的 php 文件中,例如: 文件 1 AndroidFlashCard.php
我在地址表单输入上有自动完成功能。当用户点击建议时,州和邮政编码信息会自动填充。cp_state 是带有状态名称下拉列表的选择框,而cp_zipcode 是邮政编码的输入文本。 我使用下面的 java
我试图按顺序选择记录,但随机限制。 SELECT * FROM tm_winners WHERE paid_out=0 ORDER BY DESC LIMIT RAND(4,8) 但是,我似乎无法随机
我有一张这样的表,我想选取 20 位 HitTest 门的歌手并按字母顺序对他们(这 20 位歌手)进行排序。 id name hit --------------
我正在尝试使用受风影响的雨粒子,也就是 physicsWorld 重力。 我可以看到重力确实对我的 SKSpriteNode 有影响,但我无法对 SKEmitterNode 产生相同的影响。 我只是想
我有一个问题,我在网站加载时调用淡入,但由于 css 过渡效果,元素变为完全不透明,立即淡出然后淡入,我试图找到解决这个问题的方法,因为它看起来很糟糕 jQuery $(window).on("loa
我定义了一个容器元素,包含一个float div和一个ul,并且 ul 元素包含一些 float li 元素。我想清除 ul 的 float ,但 ul 的高度受其 float 兄弟元素的影响。这是
我想使用一项服务。我 100% 确信该服务可以正常工作。 服务电话 public void add(User user) { ConnectionRequest con = new Connectio
如果您在桌面/PC 上访问某人的 instagram 页面,单击搜索栏时,它会向左浮动,然后可以输入文本进行搜索。当搜索字段中没有文本时,搜索图标和“搜索”占位符会回到原来的中心位置。 我假设 jav
我是一名优秀的程序员,十分优秀!