如何在Google Cloud计算引擎VM上安装sbt?

时间:2017-01-11 21:34:37

标签: sbt google-compute-engine

我在官方sbt网站上查看了debian软件包安装过程中提到的步骤。这些步骤在我的Ubuntu计算机上本地运行,但是相同的步骤在Google Cloud Compute Engine VM中不起作用。当我运行sbt时,我收到以下错误:

Getting org.scala-sbt sbt 0.13.8 ...
:: problems summary ::
:::: WARNINGS
                module not found: org.scala-sbt#sbt;0.13.8
        ==== local: tried
          /home/<homedir>/.ivy2/local/org.scala-sbt/sbt/0.13.8/ivys/ivy.xml
          -- artifact org.scala-sbt#sbt;0.13.8!sbt.jar:
          /home/<homedir>/.ivy2/local/org.scala-sbt/sbt/0.13.8/jars/sbt.jar
        ==== Maven Central: tried
          https://repo1.maven.org/maven2/org/scala-sbt/sbt/0.13.8/sbt-0.13.8.pom
          -- artifact org.scala-sbt#sbt;0.13.8!sbt.jar:
          https://repo1.maven.org/maven2/org/scala-sbt/sbt/0.13.8/sbt-0.13.8.jar
        ==== typesafe-ivy-releases: tried
          https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/sbt/0.13.8/ivys/ivy.xml
        ==== sbt-ivy-snapshots: tried
          https://repo.scala-sbt.org/scalasbt/ivy-snapshots/org.scala-sbt/sbt/0.13.8/ivys/ivy.xml
                ::::::::::::::::::::::::::::::::::::::::::::::
                ::          UNRESOLVED DEPENDENCIES         ::
                ::::::::::::::::::::::::::::::::::::::::::::::

                :: org.scala-sbt#sbt;0.13.8: not found
                ::::::::::::::::::::::::::::::::::::::::::::::
:::: ERRORS
        Server access Error: java.lang.RuntimeException: Unexpected     error: 
java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty url=https://repo1.maven.org/maven2/org/scala-sbt/sbt/0.13.8/sbt-0.13.8.pom

Server access Error: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty url=https://repo1.maven.org/maven2/org/scala-sbt/sbt/0.13.8/sbt-0.13.8.jar

Server access Error: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty url=https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/sbt/0.13.8/ivys/ivy.xml

Server access Error: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty url=https://repo.scala-sbt.org/scalasbt/ivy-snapshots/org.scala-sbt/sbt/0.13.8/ivys/ivy.xml

:: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
unresolved dependency: org.scala-sbt#sbt;0.13.8: not found
Error during sbt execution: Error retrieving required libraries
  (see /home/<homedir>/.sbt/boot/update.log for complete log)
Error: Could not retrieve sbt 0.13.8

0 个答案:

没有答案