首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >安装scala插件的URL已损坏

安装scala插件的URL已损坏
EN

Stack Overflow用户
提问于 2018-06-17 01:45:07
回答 2查看 218关注 0票数 1

我正在尝试安装rocket-chip,而chisel3是git代码库中的一个子模块。我遵循了Chisel3 git repo中的步骤

使用以下命令时,我会得到以下错误

代码语言:javascript
复制
sbt compile

chisel3存储库的项目/plugins.sbt有

代码语言:javascript
复制
resolvers += Resolver.url("scalasbt", new URL("http://scalasbt.artifactoryonline.com/scalasbt/sbt-plugin-releases")) (Resolver.ivyStylePatterns)

URL已损坏。我用https://dl.bintray.com/sbt/sbt-plugin-releases替换了它,但是我看到我得到了这个

代码语言:javascript
复制
[info] Loading settings from plugins.sbt ... [info] Loading project definition from /home/sathya/riscv/rocket-chip/chisel3/project [info] Updating ProjectRef(uri("file:/home/sathya/riscv/rocket-chip/chisel3/project/"), "chisel3-build")... [warn] :::::::::::::::::::::::::::::::::::::::::::::: [warn] :: UNRESOLVED DEPENDENCIES :: [warn] :::::::::::::::::::::::::::::::::::::::::::::: [warn] :: org.scalastyle#scalastyle-sbt-plugin;1.0.0: Resolution failed several times for dependency: org.scalastyle#scalastyle-sbt-plugin;1.0.0 {compile=[default(compile)]}:: [warn] typesafe-ivy-releases: unable to get resource for org.scalastyle#scalastyle-sbt-plugin;1.0.0: res=https://repo.typesafe.com/typesafe/ivy-releases/org.scalastyle/scalastyle-sbt-plugin/scala_2.12/sbt_1.0/1.0.0/ivys/ivy.xml: javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty [warn] sbt-plugin-releases: unable to get resource for org.scalastyle#scalastyle-sbt-plugin;1.0.0: res=https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/org.scalastyle/scalastyle-sbt-plugin/scala_2.12/sbt_1.0/1.0.0/ivys/ivy.xml: javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty [warn] public: unable to get resource for org/scalastyle#scalastyle-sbt-plugin;1.0.0: res=https://repo1.maven.org/maven2/org/scalastyle/scalastyle-sbt-plugin_2.12_1.0/1.0.0/scalastyle-sbt-plugin-1.0.0.pom: javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty [warn] sbt-plugin-releases: unable to get resource for org.scalastyle#scalastyle-sbt-plugin;1.0.0: res=https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/org.scalastyle/scalastyle-sbt-plugin/scala_2.12/sbt_1.0/1.0.0/ivys/ivy.xml: javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty [warn] :: org.scoverage#sbt-scoverage;1.5.1: Resolution failed several times for dependency: org.scoverage#sbt-scoverage;1.5.1 {compile=[default(compile)]}::

你能让我知道我这里错过了什么吗?

EN

回答 2

Stack Overflow用户

发布于 2018-06-17 18:22:32

基于另一个线程,我得到了这个“error says "javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected : java.security.InvalidAlgorithmParameterException: javax.net.ssl.SSLException trustAnchors参数必须为非空”,这是Linux上的一个已知问题。有关发布的各种解决方法,请参阅。trustanchors error

票数 0
EN

Stack Overflow用户

发布于 2019-05-17 21:59:47

我正试着在MacOS高山上编译chisel3。Sbt是使用brew安装的。

看起来就连https://dl.bintray.com/sbt/sbt-plugin-releases也崩溃了。我做了同样的事情,但得到了一个不同的错误,例如:

错误未解析的依赖项:org.webjars#webjars locator-core;0.32:依赖项解析多次失败:org.webjars#webjars locator-core;0.32{compile=default(编译)}::error typesafe-ivy-release:无法获取org.webjars#webjars locator-core的资源;0.32: sun.security.provider.certpath.SunCertPathBuilderException:插件: res=https://repo.typesafe.com/typesafe/ivy-releases/org.webjars/webjars-locator-core/0.32/ivys/ivy.xml:javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX路径构建失败:PKIX找不到指向请求目标的有效证书路径错误sbt-sun.security.validator.ValidatorException-release:无法获取org.webjar#webjars locator-core的资源;0.32: webjars: sun.security.provider.certpath.SunCertPathBuilderException::res=https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/org.webjars/webjars-locator-core/0.32/ivys/ivy.xml:javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX路径构建失败:PKIX找不到指向请求的目标的有效认证路径类型安全-常春藤-发布:无法获取org.webjar#webjars sun.security.validator.ValidatorException-core的资源;0.32: sun.security.provider.certpath.SunCertPathBuilderException:https://repo.typesafe.com/typesafe/ivy-releases/org.webjars/webjars-locator-core/0.32/jars/webjars-locator-core.jar:javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX路径构建失败: sun.security.provider.certpath.SunCertPathBuilderException:找不到到请求目标的有效证书路径错误sbt-javax.net.ssl.SSLHandshakeException-release:无法获取org.webjars#webjars sun.security.validator.ValidatorException-https://repo.typesafe.com/typesafe/ivy-releases/org.webjars/webjars-locator-core/0.32/jars/webjars-locator-core.jar的资源;0.32: res=https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/org.webjars/webjars-locator-core/0.32/ivys/ivy.xml:javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX路径构建失败:PKIX找不到到请求目标的有效证书路径

在浏览器中访问https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/org.webjars/webjars-locator-core/0.32/ivys/ivy.xml,它会重定向到https://dl.bintray.com/sbt/sbt-plugin-releases/org.webjars/webjars-locator-core/0.32/ivys/ivy.xml,最后显示“未找到请求的路径”。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/50890261

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档