Typesafe激活器1.3.9不再有效(无版本)

时间:2016-04-09 21:46:10

标签: playframework playframework-2.3 typesafe-activator

刚刚在新的Ubuntu 15.10盒子上下载并安装了activator 1.3.9 for Play-Scala 2.3.8(已经安装了jdk 8,scala 2.11.6)。

问题是activator不再有效,我总是会遇到以下错误(即使使用最新版本的activator):

j3d@gonzo:~$ activator 
Getting com.typesafe.activator activator-launcher 1.3.9 ...

:: problems summary ::
:::: WARNINGS
        module not found: com.typesafe.activator#activator-launcher;1.3.9

    ==== local: tried

      /home/j3d/.ivy2/local/com.typesafe.activator/activator-launcher/1.3.9/ivys/ivy.xml

      -- artifact com.typesafe.activator#activator-launcher;1.3.9!activator-launcher.jar:

      /home/j3d/.ivy2/local/com.typesafe.activator/activator-launcher/1.3.9/jars/activator-launcher.jar

    ==== activator-launcher-local: tried

      file:/opt/activator-1.3.9-minimal/repository/com.typesafe.activator/activator-launcher/1.3.9/ivys/ivy.xml

    ==== Maven Central: tried

      https://repo1.maven.org/maven2/com/typesafe/activator/activator-launcher/1.3.9/activator-launcher-1.3.9.pom

      -- artifact com.typesafe.activator#activator-launcher;1.3.9!activator-launcher.jar:

      https://repo1.maven.org/maven2/com/typesafe/activator/activator-launcher/1.3.9/activator-launcher-1.3.9.jar

    ==== typesafe-releases: tried

      https://repo.typesafe.com/typesafe/releases/com/typesafe/activator/activator-launcher/1.3.9/activator-launcher-1.3.9.pom

      -- artifact com.typesafe.activator#activator-launcher;1.3.9!activator-launcher.jar:

      https://repo.typesafe.com/typesafe/releases/com/typesafe/activator/activator-launcher/1.3.9/activator-launcher-1.3.9.jar

    ==== typesafe-ivy-releasez: tried

      https://repo.typesafe.com/typesafe/ivy-releases/com.typesafe.activator/activator-launcher/1.3.9/ivys/ivy.xml

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

        ::          UNRESOLVED DEPENDENCIES         ::

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

        :: com.typesafe.activator#activator-launcher;1.3.9: 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/com/typesafe/activator/activator-launcher/1.3.9/activator-launcher-1.3.9.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/com/typesafe/activator/activator-launcher/1.3.9/activator-launcher-1.3.9.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/releases/com/typesafe/activator/activator-launcher/1.3.9/activator-launcher-1.3.9.pom

    Server access Error: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty url=https://repo.typesafe.com/typesafe/releases/com/typesafe/activator/activator-launcher/1.3.9/activator-launcher-1.3.9.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/com.typesafe.activator/activator-launcher/1.3.9/ivys/ivy.xml


:: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
unresolved dependency: com.typesafe.activator#activator-launcher;1.3.9: not found
Error during sbt execution: Error retrieving required libraries
  (see /home/j3d/.sbt/boot/update.log for complete log)
Error: Could not retrieve activator-launcher 1.3.9

试图删除.sbt.ivy2 ...但没办法。任何帮助都会非常感激。

1 个答案:

答案 0 :(得分:1)

好的,明白了。问题是JDK。我的Ubuntu盒子上安装了OpenJDK-8 ......但是激活器不能用它(不要问我为什么)。最后我刚刚删除了OpenJDK-8并安装了Oracle的Java 8.现在它可以工作了。