Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/apache-spark/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Apache spark IntelliJ在执行生成时抛出sbt错误_Apache Spark_Sbt - Fatal编程技术网

Apache spark IntelliJ在执行生成时抛出sbt错误

Apache spark IntelliJ在执行生成时抛出sbt错误,apache-spark,sbt,Apache Spark,Sbt,我在从GIT导入spark项目时遇到了这个错误 我不知道该怎么做 Error while importing sbt project: Getting org.scala-sbt sbt 0.13.17 (this may take some time)... :: problems summary :: :::: WARNINGS module not found: org.scala-sbt#sbt;0.13.17 ==== local: tried C:\Users\omega

我在从GIT导入spark项目时遇到了这个错误

我不知道该怎么做

Error while importing sbt project:

 Getting org.scala-sbt sbt 0.13.17  (this may take some time)...

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

==== local: tried

C:\Users\omega\.ivy2\local\org.scala-sbt\sbt\0.13.17\ivys\ivy.xml

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

C:\Users\omega\.ivy2\local\org.scala-sbt\sbt\0.13.17\jars\sbt.jar

==== my-ivy-proxy-releases: tried

https://nexus.rxcorp.com:8081/nexus/repository/ivy-releases/org/scala-sbt/sbt/0.13.17/sbt-0.13.17.pom

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

https://nexus.rxcorp.com:8081/nexus/repository/ivy-releases/org/scala-sbt/sbt/0.13.17/sbt-0.13.17.jar

==== my-maven-proxy-releases: tried

https://nexus.rxcorp.com:8081/nexus/repository/mvn-repositories/org/scala-sbt/sbt/0.13.17/sbt-0.13.17.pom

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

https://nexus.rxcorp.com:8081/nexus/repository/mvn-repositories/org/scala-sbt/sbt/0.13.17/sbt-0.13.17.jar

==== my-sbt-ivy-snapshots3: tried

https://nexus.rxcorp.com:8081/nexus/repository/snapshots/org/scala-sbt/sbt/0.13.17/sbt-0.13.17.pom

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

https://nexus.rxcorp.com:8081/nexus/repository/snapshots/org/scala-sbt/sbt/0.13.17/sbt-0.13.17.jar
 ==== my-sbt-ivy-snapshots2: tried

 https://nexus.rxcorp.com:8081/nexus/repository/public/org/scala-sbt/sbt/0.13.17/sbt-0.13.17.pom

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

https://nexus.rxcorp.com:8081/nexus/repository/public/org/scala-sbt/sbt/0.13.17/sbt-0.13.17.jar

==== typesafe-releases: tried

https://nexus.rxcorp.com:8081/nexus/repository/typesafe/org/scala-sbt/sbt/0.13.17/sbt-0.13.17.pom

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

 https://nexus.rxcorp.com:8081/nexus/repository/typesafe/org/scala-sbt/sbt/0.13.17/sbt-0.13.17.jar

 ==== typesafe-ivy-releases/: tried

  https://nexus.rxcorp.com:8081/nexus/repository/Typesafe-Ivy-Releases/org.scala- 
 sbt/sbt/0.13.17/ivys/ivy.xml

 ==== Maven Central: tried

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

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

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

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

   ::          UNRESOLVED DEPENDENCIES         ::

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

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

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



   :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
    Error during sbt execution: Error retrieving required libraries
       Error: Could not retrieve sbt 0.13.17
  • 解决方案:改用SBT的版本
    0.13.18
    。这仍在讨论中 ,而版本
    0.13.17
    已被删除

    只需将
    项目/build.properties:
    中的版本更改为

    sbt.version=0.13.18
    。正如你提到的 需要将sbt启动器更新为版本
    0.13.18

  • 建议的解决方案:尝试将sbt版本更改为
    1.X.X
    。版本 不再支持
    0.13.X
    (请参阅)。注 SBT1.X.X引入了中断更改,因此您需要 跟着