Как создать новый проект с помощью активатора для Lagom

#sbt #typesafe-activator #lagom

#sbt #typesafe-активатор #lagom

Вопрос:

Только что скачал и установил последнюю версию activator (1.3.10), следуя этому руководству.

Местоположение, в котором я установил activator дистрибутив, доступно для записи и activator-1.3.10/bin было добавлено в мой $PATH .

Затем я попытался создать новый проект, подобный этому:

 activator new test-project lagom-scala
  

… но я всегда получаю следующие ошибки:

 j3d@gonzo:~/Projects$ activator new test-project lagom-scala
Getting com.typesafe.activator activator-launcher 1.3.10 ...

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

    ==== local: tried

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

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

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

    ==== activator-launcher-local: tried

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

    ==== Maven Central: tried

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

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

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

    ==== typesafe-releases: tried

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

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

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

    ==== typesafe-ivy-releasez: tried

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

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

        ::          UNRESOLVED DEPENDENCIES         ::

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

        :: com.typesafe.activator#activator-launcher;1.3.10: 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.10/activator-launcher-1.3.10.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.10/activator-launcher-1.3.10.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.10/activator-launcher-1.3.10.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.10/activator-launcher-1.3.10.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.10/ivys/ivy.xml


:: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
unresolved dependency: com.typesafe.activator#activator-launcher;1.3.10: 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.10
  

Любая помощь была бы очень признательна.

Ответ №1:

Погуглив дальше, я обнаружил, что в Ubuntu есть проблема, которую можно решить, как описано здесь . Надеюсь, это поможет.