IntelliJ IDEA 2017 - 未找到sbt 0.13.X

时间:2017-05-22 09:31:45

标签: intellij-idea sbt

我对IntelliJ IDEA 2017和sbt有疑问。虽然我不使用任何代理或类似的东西,但每次我尝试创建新的sbt项目或创建新项目时都会出现以下错误:

Getting org.scala-sbt sbt 0.13.13 ...

:: problems summary ::
:::: WARNINGS
            module not found: org.scala-sbt#sbt;0.13.13

    ==== local: tried

      C:\Users\HN48DH\.ivy2\local\org.scala-sbt\sbt\0.13.13\ivys\ivy.xml

      -- artifact org.scala-sbt#sbt;0.13.13!sbt.jar:

      C:\Users\HN48DH\.ivy2\local\org.scala-sbt\sbt\0.13.13\jars\sbt.jar

    ==== Maven Central: tried

      https://repo1.maven.org/maven2/org/scala-sbt/sbt/0.13.13/sbt-0.13.13.pom

      -- artifact org.scala-sbt#sbt;0.13.13!sbt.jar:

      https://repo1.maven.org/maven2/org/scala-sbt/sbt/0.13.13/sbt-0.13.13.jar

    ==== typesafe-ivy-releases: tried

      https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/sbt/0.13.13/ivys/ivy.xml

    ==== sbt-ivy-snapshots: tried

      https://repo.scala-sbt.org/scalasbt/ivy-snapshots/org.scala-sbt/sbt/0.13.13/ivys/ivy.xml

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

            ::          UNRESOLVED DEPENDENCIES         ::

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

            :: org.scala-sbt#sbt;0.13.13: not found

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


:::: ERRORS
    SERVER ERROR: Parent proxy unreacheable url=https://repo1.maven.org/maven2/org/scala-sbt/sbt/0.13.13/sbt-0.13.13.pom

    SERVER ERROR: Parent proxy unreacheable url=https://repo1.maven.org/maven2/org/scala-sbt/sbt/0.13.13/sbt-0.13.13.jar

    SERVER ERROR: Parent proxy unreacheable url=https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/sbt/0.13.13/ivys/ivy.xml

    SERVER ERROR: Parent proxy unreacheable url=https://repo.scala-sbt.org/scalasbt/ivy-snapshots/org.scala-sbt/sbt/0.13.13/ivys/ivy.xml


:: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
unresolved dependency: org.scala-sbt#sbt;0.13.13: not found
Error during sbt execution: Error retrieving required libraries
(see C:\Users\user-name\.sbt\boot\update.log for complete log)
Error: Could not retrieve sbt 0.13.13

Process finished with exit code 1

我真的没有想法可能出错了。我很感激你的帮助。

1 个答案:

答案 0 :(得分:0)

如果您从错误消息转到链接,只是尝试提供帮助:

https://repo1.maven.org/maven2/org/scala-sbt/sbt/0.13.13/sbt-0.13.13.pom

它给了我:" 404 Not Found"所以你的IDE试图从错误的位置下载SBT。可能存储库位置已更改。