scala - 用于安装 scala 插件的 URL 损坏
问题描述
我正在尝试安装rocket-chip,chisel3 是那个git repo 中的一个子模块。我按照 Chisel3 git repo中的步骤进行操作
使用时出现以下错误
sbt compile
chisel3 repo 的 project/plugins.sbt 有
resolvers += Resolver.url("scalasbt", new URL("http://scalasbt.artifactoryonline.com/scalasbt/sbt-plugin-releases")) (Resolver.ivyStylePatterns)
网址已损坏。我用https://dl.bintray.com/sbt/sbt-plugin-releases替换了它 但是我看到我明白了
[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)]}::
你能告诉我我在这里缺少什么吗?
解决方案
基于另一个线程我得到这个“错误说”javax.net.ssl.SSLException:java.lang.RuntimeException:意外错误:java.security.InvalidAlgorithmParameterException:trustAnchors参数必须是非空的“,这是一个已知问题Linux。请参阅发布的各种解决方法。trustanchors 错误 “
推荐阅读
- amazon-web-services - 如何使用 AWS Lambda 函数将文件从 S3 存储桶复制到 EC2 Windows 实例
- minecraft - 变体 testmod:ruby#inventory 的异常加载模型,用于项目“testmod:ruby”,正常位置异常:
- asp.net - asp.net vb 如果列表框项与特定字符串匹配,如何选择它?
- sql-server - 具有求和的不同行
- node.js - 从分片的用户计数中删除 Clyde
- vuetify.js - Vuetify - 如何正确嵌套 v-menu、v-badge 和 v-btn
- c++ - 在图片中绘制对角线的算法
- firebase - Firebase - 如何为网络应用(非原生应用)创建 A/B 测试实验
- c++ - 如何将我的类传递给它自己的构造函数?
- php - 使用 PHP 中的父 PID 获取子 PID