以下sbt错误的来源在哪里?

时间:2015-06-08 22:09:01

标签: sbt

问题如下所示:

:: problems summary ::
:::: WARNINGS
        module not found: org.scala-sbt#sbt;0.13.7

    ==== local: tried

      /home/jiakui/.ivy2/local/org.scala-sbt/sbt/0.13.7/ivys/ivy.xml

      -- artifact org.scala-sbt#sbt;0.13.7!sbt.jar:

      /home/jiakui/.ivy2/local/org.scala-sbt/sbt/0.13.7/jars/sbt.jar

    ==== typesafe-ivy-releases: tried

      https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/sbt/0.13.7/ivys/ivy.xml

    ==== Maven Central: tried

      https://repo1.maven.org/maven2/org/scala-sbt/sbt/0.13.7/sbt-0.13.7.pom

      -- artifact org.scala-sbt#sbt;0.13.7!sbt.jar:

      https://repo1.maven.org/maven2/org/scala-sbt/sbt/0.13.7/sbt-0.13.7.jar

        ::::::::::::::::::::::::::::::::::::::::::::::

        ::          UNRESOLVED DEPENDENCIES         ::

        ::::::::::::::::::::::::::::::::::::::::::::::

        :: org.scala-sbt#sbt;0.13.7: not found

        ::::::::::::::::::::::::::::::::::::::::::::::


:::: ERRORS

服务器访问错误:sun.security.validator.ValidatorException:PKIX路径构建失败:sun.security.provider.certpath.SunCertPathBuilderException:无法找到所请求目标的有效证书路径url = https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/sbt/0.13.7/ivys/ivy.xml

服务器访问错误:sun.security.validator.ValidatorException:PKIX路径构建失败:sun.security.provider.certpath.SunCertPathBuilderException:无法找到所请求目标的有效证书路径url = https://repo1.maven.org/maven2/org/scala-sbt/sbt/0.13.7/sbt-0.13.7.pom

服务器访问错误:sun.security.validator.ValidatorException:PKIX路径构建失败:sun.security.provider.certpath.SunCertPathBuilderException:无法找到所请求目标的有效证书路径url = https://repo1.maven.org/maven2/org/scala-sbt/sbt/0.13.7/sbt-0.13.7.jar

::使用VERBOSE或调试消息级别获取更多详细信息     未解决的依赖:org.scala-sbt#sbt; 0.13.7:未找到     sbt执行期间出错:检索所需库时出错       (有关完整日志,请参阅/home/jiakui/.sbt/boot/update.log)     错误:无法检索sbt 0.13.7     +退出1

1 个答案:

答案 0 :(得分:0)

我终于找到了解决方法。

在命令行运行:

sudo /var/lib/dpkg/info/ca-certificates-java.postinst configure

这个问题似乎与这个问题有关:https://github.com/docker-library/openjdk/issues/19(至少对我而言)。

据我所知,似乎这个bug可以回到JDK9 = /