无法安装激活器(播放2.3.x)

时间:2016-02-08 13:37:22

标签: playframework sbt playframework-2.3 typesafe-activator

我正在尝试在我的Windows PC上安装Activator,但我收到错误,这是日志:

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

    ==== local: tried

      C:\Users\abdollab\.ivy2\local\com.typesafe.activator\activator-launcher\1.3.5\ivys\ivy.xml

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

      C:\Users\abdollab\.ivy2\local\com.typesafe.activator\activator-launcher\1.3.5\jars\activator-launcher.jar

    ==== activator-launcher-local: tried

      file:////C:/activator/repository/com.typesafe.activator/activator-launcher/1.3.5/ivys/ivy.xml

    ==== Maven Central: tried

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

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

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

    ==== typesafe-releases: tried

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

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

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

    ==== typesafe-ivy-releasez: tried

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

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

        ::          UNRESOLVED DEPENDENCIES         ::

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

        :: com.typesafe.activator#activator-launcher;1.3.5: not found

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


:::: ERRORS
    Server access Error: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target url=https://repo1.maven.org/maven2/com/typesafe/activator/activator-launcher/1.3.5/activator-launcher-1.3.5.pom

    Server access Error: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target url=https://repo1.maven.org/maven2/com/typesafe/activator/activator-launcher/1.3.5/activator-launcher-1.3.5.jar

    Server access Error: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target url=https://repo.typesafe.com/typesafe/releases/com/typesafe/activator/activator-launcher/1.3.5/activator-launcher-1.3.5.pom

    Server access Error: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target url=https://repo.typesafe.com/typesafe/releases/com/typesafe/activator/activator-launcher/1.3.5/activator-launcher-1.3.5.jar

    Server access Error: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target url=https://repo.typesafe.com/typesafe/ivy-releases/com.typesafe.activator/activator-launcher/1.3.5/ivys/ivy.xml


:: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
java.lang.RuntimeException: not found
    at org.apache.ivy.core.resolve.IvyNode.loadData(IvyNode.java:238)
    at org.apache.ivy.core.resolve.VisitNode.loadData(VisitNode.java:292)
    at org.apache.ivy.core.resolve.ResolveEngine.fetchDependencies(ResolveEngine.java:714)
    at org.apache.ivy.core.resolve.ResolveEngine.doFetchDependencies(ResolveEngine.java:799)
    at org.apache.ivy.core.resolve.ResolveEngine.fetchDependencies(ResolveEngine.java:722)
    at org.apache.ivy.core.resolve.ResolveEngine.getDependencies(ResolveEngine.java:594)
    at org.apache.ivy.core.resolve.ResolveEngine.resolve(ResolveEngine.java:234)
    at xsbt.boot.Update.xsbt$boot$Update$$lockedApply(Update.scala:106)
    at xsbt.boot.Update$$anon$4.call(Update.scala:100)
    at xsbt.boot.Locks$GlobalLock.withChannel$1(Locks.scala:93)
    at xsbt.boot.Locks$GlobalLock.xsbt$boot$Locks$GlobalLock$$withChannelRetries$1(Locks.scala:78)
    at xsbt.boot.Locks$GlobalLock$$anonfun$withFileLock$1.apply(Locks.scala:97)
    at xsbt.boot.Using$.withResource(Using.scala:10)
    at xsbt.boot.Using$.apply(Using.scala:9)
    at xsbt.boot.Locks$GlobalLock.ignoringDeadlockAvoided(Locks.scala:58)
    at xsbt.boot.Locks$GlobalLock.withLock(Locks.scala:48)
    at xsbt.boot.Locks$.apply0(Locks.scala:31)
    at xsbt.boot.Locks$.apply(Locks.scala:28)
    at xsbt.boot.Update.apply(Update.scala:101)
    at xsbt.boot.Launch.update(Launch.scala:352)
    at xsbt.boot.Launch.xsbt$boot$Launch$$retrieve$1(Launch.scala:208)
    at xsbt.boot.Launch$$anonfun$3.apply(Launch.scala:216)
    at scala.Option.getOrElse(Option.scala:120)
    at xsbt.boot.Launch.xsbt$boot$Launch$$getAppProvider0(Launch.scala:216)
    at xsbt.boot.Launch$$anon$2.call(Launch.scala:196)
    at xsbt.boot.Locks$GlobalLock.withChannel$1(Locks.scala:93)
    at xsbt.boot.Locks$GlobalLock.xsbt$boot$Locks$GlobalLock$$withChannelRetries$1(Locks.scala:78)
    at xsbt.boot.Locks$GlobalLock$$anonfun$withFileLock$1.apply(Locks.scala:97)
    at xsbt.boot.Using$.withResource(Using.scala:10)
    at xsbt.boot.Using$.apply(Using.scala:9)
    at xsbt.boot.Locks$GlobalLock.ignoringDeadlockAvoided(Locks.scala:58)
    at xsbt.boot.Locks$GlobalLock.withLock(Locks.scala:48)
    at xsbt.boot.Locks$.apply0(Locks.scala:31)
    at xsbt.boot.Locks$.apply(Locks.scala:28)
    at xsbt.boot.Launch.locked(Launch.scala:238)
    at xsbt.boot.Launch.app(Launch.scala:147)
    at xsbt.boot.Launch.app(Launch.scala:145)
    at xsbt.boot.Launch$.run(Launch.scala:102)
    at xsbt.boot.Launch$$anonfun$apply$1.apply(Launch.scala:35)
    at xsbt.boot.Launch$.launch(Launch.scala:117)
    at xsbt.boot.Launch$.apply(Launch.scala:18)
    at xsbt.boot.Boot$.runImpl(Boot.scala:41)
    at xsbt.boot.Boot$.main(Boot.scala:17)
    at xsbt.boot.Boot.main(Boot.scala)
Error during sbt execution: Error retrieving required libraries
    at xsbt.boot.Pre$.error(Pre.scala:26)
    at xsbt.boot.Update.xsbt$boot$Update$$lockedApply(Update.scala:106)
    at xsbt.boot.Update$$anon$4.call(Update.scala:100)
    at xsbt.boot.Locks$GlobalLock.withChannel$1(Locks.scala:93)
    at xsbt.boot.Locks$GlobalLock.xsbt$boot$Locks$GlobalLock$$withChannelRetries$1(Locks.scala:78)
    at xsbt.boot.Locks$GlobalLock$$anonfun$withFileLock$1.apply(Locks.scala:97)
    at xsbt.boot.Using$.withResource(Using.scala:10)
    at xsbt.boot.Using$.apply(Using.scala:9)
    at xsbt.boot.Locks$GlobalLock.ignoringDeadlockAvoided(Locks.scala:58)
    at xsbt.boot.Locks$GlobalLock.withLock(Locks.scala:48)
    at xsbt.boot.Locks$.apply0(Locks.scala:31)
    at xsbt.boot.Locks$.apply(Locks.scala:28)
    at xsbt.boot.Update.apply(Update.scala:101)
    at xsbt.boot.Launch.update(Launch.scala:352)
    at xsbt.boot.Launch.xsbt$boot$Launch$$retrieve$1(Launch.scala:208)
    at xsbt.boot.Launch$$anonfun$3.apply(Launch.scala:216)
    at scala.Option.getOrElse(Option.scala:120)
    at xsbt.boot.Launch.xsbt$boot$Launch$$getAppProvider0(Launch.scala:216)
    at xsbt.boot.Launch$$anon$2.call(Launch.scala:196)
    at xsbt.boot.Locks$GlobalLock.withChannel$1(Locks.scala:93)
    at xsbt.boot.Locks$GlobalLock.xsbt$boot$Locks$GlobalLock$$withChannelRetries$1(Locks.scala:78)
    at xsbt.boot.Locks$GlobalLock$$anonfun$withFileLock$1.apply(Locks.scala:97)
    at xsbt.boot.Using$.withResource(Using.scala:10)
    at xsbt.boot.Using$.apply(Using.scala:9)
    at xsbt.boot.Locks$GlobalLock.ignoringDeadlockAvoided(Locks.scala:58)
    at xsbt.boot.Locks$GlobalLock.withLock(Locks.scala:48)
    at xsbt.boot.Locks$.apply0(Locks.scala:31)
    at xsbt.boot.Locks$.apply(Locks.scala:28)
    at xsbt.boot.Launch.locked(Launch.scala:238)
    at xsbt.boot.Launch.app(Launch.scala:147)
    at xsbt.boot.Launch.app(Launch.scala:145)
    at xsbt.boot.Launch$.run(Launch.scala:102)
    at xsbt.boot.Launch$$anonfun$apply$1.apply(Launch.scala:35)
    at xsbt.boot.Launch$.launch(Launch.scala:117)
    at xsbt.boot.Launch$.apply(Launch.scala:18)
    at xsbt.boot.Boot$.runImpl(Boot.scala:41)
    at xsbt.boot.Boot$.main(Boot.scala:17)
    at xsbt.boot.Boot.main(Boot.scala)
Error during sbt execution: Error retrieving required libraries

首先谈谈这个具体部分:

    ==== Maven Central: tried

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

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

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

    ==== typesafe-releases: tried

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

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

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

如果我在浏览器中复制粘贴任何这些链接,我会得到一个NOT FOUND页面作为回报!为什么这些文件不再存在?

1 个答案:

答案 0 :(得分:0)

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