Я пытаюсь установить sbt без подключения к inte rnet (офлайн) в Ubuntu 18.04, но получаю следующую ошибку:
sjson-new-scalajson_2.12;0.8.2 not found
/usr/local/sbt
SBT_HOME
$SBT_HOME/bin
PATH
ОС: Ubuntu 18.04 LTS 64 бит JDK: Oracle JDk 1.8.0_241
Я пробовал это решение , но это не не работает с этой ошибкой:
org.scala-sbt#sbt;0.13.15: not found #3206
Мои журналы терминала:
[info] [launcher] getting org.scala-sbt sbt 1.3.8 (this may take some time)... You probably access the destination server through a proxy server that is not well configured. You probably access the destination server through a proxy server that is not well configured. :: loading settings :: url = jar:file:/usr/local/sbt/bin/sbt-launch.jar!/org/apache/ivy/core/settings/ivysettings.xml :: loading settings :: url = jar:file:/usr/local/sbt/bin/sbt-launch.jar!/org/apache/ivy/core/settings/ivysettings.xml :: loading settings :: url = jar:file:/usr/local/sbt/bin/sbt-launch.jar!/org/apache/ivy/core/settings/ivysettings.xml :: loading settings :: url = jar:file:/usr/local/sbt/bin/sbt-launch.jar!/org/apache/ivy/core/settings/ivysettings.xml :: problems summary :: :::: WARNINGS Host repo1.maven.org not found. url=https://repo1.maven.org/maven2/com/eed3si9n/sjson-new-scalajson_2.12/0.8.2/sjson-new-scalajson_2.12-0.8.2.pom Host repo1.maven.org not found. url=https://repo1.maven.org/maven2/com/eed3si9n/sjson-new-scalajson_2.12/0.8.2/sjson-new-scalajson_2.12-0.8.2.jar Host repo.scala-sbt.org not found. url=https://repo.scala-sbt.org/scalasbt/maven-releases/com/eed3si9n/sjson-new-scalajson_2.12/0.8.2/sjson-new-scalajson_2.12-0.8.2.pom Host repo.scala-sbt.org not found. url=https://repo.scala-sbt.org/scalasbt/maven-releases/com/eed3si9n/sjson-new-scalajson_2.12/0.8.2/sjson-new-scalajson_2.12-0.8.2.jar Host repo.scala-sbt.org not found. url=https://repo.scala-sbt.org/scalasbt/maven-snapshots/com/eed3si9n/sjson-new-scalajson_2.12/0.8.2/sjson-new-scalajson_2.12-0.8.2.pom Host repo.scala-sbt.org not found. url=https://repo.scala-sbt.org/scalasbt/maven-snapshots/com/eed3si9n/sjson-new-scalajson_2.12/0.8.2/sjson-new-scalajson_2.12-0.8.2.jar Host repo.typesafe.com not found. url=https://repo.typesafe.com/typesafe/ivy-releases/com.eed3si9n/sjson-new-scalajson_2.12/0.8.2/ivys/ivy.xml Host repo.scala-sbt.org not found. url=https://repo.scala-sbt.org/scalasbt/ivy-snapshots/com.eed3si9n/sjson-new-scalajson_2.12/0.8.2/ivys/ivy.xml module not found: com.eed3si9n#sjson-new-scalajson_2.12;0.8.2 ==== local: tried /home/ano/.ivy2/local/com.eed3si9n/sjson-new-scalajson_2.12/0.8.2/ivys/ivy.xml -- artifact com.eed3si9n#sjson-new-scalajson_2.12;0.8.2!sjson-new-scalajson_2.12.jar: /home/ano/.ivy2/local/com.eed3si9n/sjson-new-scalajson_2.12/0.8.2/jars/sjson-new-scalajson_2.12.jar ==== local-preloaded-ivy: tried file:////home/ano/.sbt/preloaded/com.eed3si9n/sjson-new-scalajson_2.12/0.8.2/ivys/ivy.xml ==== local-preloaded: tried file:////home/ano/.sbt/preloaded/com/eed3si9n/sjson-new-scalajson_2.12/0.8.2/sjson-new-scalajson_2.12-0.8.2.pom -- artifact com.eed3si9n#sjson-new-scalajson_2.12;0.8.2!sjson-new-scalajson_2.12.jar: file:////home/ano/.sbt/preloaded/com/eed3si9n/sjson-new-scalajson_2.12/0.8.2/sjson-new-scalajson_2.12-0.8.2.jar ==== Maven Central: tried https://repo1.maven.org/maven2/com/eed3si9n/sjson-new-scalajson_2.12/0.8.2/sjson-new-scalajson_2.12-0.8.2.pom -- artifact com.eed3si9n#sjson-new-scalajson_2.12;0.8.2!sjson-new-scalajson_2.12.jar: https://repo1.maven.org/maven2/com/eed3si9n/sjson-new-scalajson_2.12/0.8.2/sjson-new-scalajson_2.12-0.8.2.jar ==== sbt-maven-releases: tried https://repo.scala-sbt.org/scalasbt/maven-releases/com/eed3si9n/sjson-new-scalajson_2.12/0.8.2/sjson-new-scalajson_2.12-0.8.2.pom -- artifact com.eed3si9n#sjson-new-scalajson_2.12;0.8.2!sjson-new-scalajson_2.12.jar: https://repo.scala-sbt.org/scalasbt/maven-releases/com/eed3si9n/sjson-new-scalajson_2.12/0.8.2/sjson-new-scalajson_2.12-0.8.2.jar ==== sbt-maven-snapshots: tried https://repo.scala-sbt.org/scalasbt/maven-snapshots/com/eed3si9n/sjson-new-scalajson_2.12/0.8.2/sjson-new-scalajson_2.12-0.8.2.pom -- artifact com.eed3si9n#sjson-new-scalajson_2.12;0.8.2!sjson-new-scalajson_2.12.jar: https://repo.scala-sbt.org/scalasbt/maven-snapshots/com/eed3si9n/sjson-new-scalajson_2.12/0.8.2/sjson-new-scalajson_2.12-0.8.2.jar ==== typesafe-ivy-releases: tried https://repo.typesafe.com/typesafe/ivy-releases/com.eed3si9n/sjson-new-scalajson_2.12/0.8.2/ivys/ivy.xml ==== sbt-ivy-snapshots: tried https://repo.scala-sbt.org/scalasbt/ivy-snapshots/com.eed3si9n/sjson-new-scalajson_2.12/0.8.2/ivys/ivy.xml :::::::::::::::::::::::::::::::::::::::::::::: :: UNRESOLVED DEPENDENCIES :: :::::::::::::::::::::::::::::::::::::::::::::: :: com.eed3si9n#sjson-new-scalajson_2.12;0.8.2: not found :::::::::::::::::::::::::::::::::::::::::::::: :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS [error] [launcher] unresolved dependency: com.eed3si9n#sjson-new-scalajson_2.12;0.8.2: not found [error] [launcher] error during sbt launcher: error retrieving required libraries (see /home/ano/.sbt/boot/update.log for complete log) [error] [launcher] could not retrieve sbt 1.3.8