sbt依赖下载失败

来源:1-5 【知识点梳理】本章重难点总结

Xuan_Yeah

2021-11-13

错误提示说无法找到 ivy.xml ,老师请问有解决办法么

Extracting structure failed, reason: structure file is empty
stack trace is suppressed; run 'last update' for the full output
stack trace is suppressed; run 'last ssExtractDependencies' for the full output
(update) sbt.librarymanagement.ResolveException: Error downloading org.apache.spark:spark-hive_2.13:2.3.0
Not found
Not found
not found: d:\sbt\.ivy2\localorg.apache.spark\spark-hive_2.13\2.3.0\ivys\ivy.xml
not found: https://repo1.maven.org/maven2/org/apache/spark/spark-hive_2.13/2.3.0/spark-hive_2.13-2.3.0.pom
not found: https://repo.scala-sbt.org/scalasbt/maven-releases/org/apache/spark/spark-hive_2.13/2.3.0/spark-hive_2.13-2.3.0.pom
not found: https://repo.scala-sbt.org/scalasbt/maven-snapshots/org/apache/spark/spark-hive_2.13/2.3.0/spark-hive_2.13-2.3.0.pom
not found: https://repo.typesafe.com/typesafe/ivy-releases/org.apache.spark/spark-hive_2.13/2.3.0/ivys/ivy.xml
not found: https://repo.scala-sbt.org/scalasbt/ivy-snapshots/org.apache.spark/spark-hive_2.13/2.3.0/ivys/ivy.xml
Error downloading org.apache.spark:spark-mllib_2.13:2.3.0
Not found
Not found
not found: d:\sbt\.ivy2\localorg.apache.spark\spark-mllib_2.13\2.3.0\ivys\ivy.xml
not found: https://repo1.maven.org/maven2/org/apache/spark/spark-mllib_2.13/2.3.0/spark-mllib_2.13-2.3.0.pom
not found: https://repo.scala-sbt.org/scalasbt/maven-releases/org/apache/spark/spark-mllib_2.13/2.3.0/spark-mllib_2.13-2.3.0.pom
not found: https://repo.scala-sbt.org/scalasbt/maven-snapshots/org/apache/spark/spark-mllib_2.13/2.3.0/spark-mllib_2.13-2.3.0.pom
not found: https://repo.typesafe.com/typesafe/ivy-releases/org.apache.spark/spark-mllib_2.13/2.3.0/ivys/ivy.xml
not found: https://repo.scala-sbt.org/scalasbt/ivy-snapshots/org.apache.spark/spark-mllib_2.13/2.3.0/ivys/ivy.xml
Error downloading org.apache.spark:spark-core_2.13:2.3.0
Not found
Not found
not found: d:\sbt\.ivy2\localorg.apache.spark\spark-core_2.13\2.3.0\ivys\ivy.xml
not found: https://repo1.maven.org/maven2/org/apache/spark/spark-core_2.13/2.3.0/spark-core_2.13-2.3.0.pom
not found: https://repo.scala-sbt.org/scalasbt/maven-releases/org/apache/spark/spark-core_2.13/2.3.0/spark-core_2.13-2.3.0.pom
not found: https://repo.scala-sbt.org/scalasbt/maven-snapshots/org/apache/spark/spark-core_2.13/2.3.0/spark-core_2.13-2.3.0.pom
not found: https://repo.typesafe.com/typesafe/ivy-releases/org.apache.spark/spark-core_2.13/2.3.0/ivys/ivy.xml
not found: https://repo.scala-sbt.org/scalasbt/ivy-snapshots/org.apache.spark/spark-core_2.13/2.3.0/ivys/ivy.xml
Error downloading org.apache.spark:spark-sql_2.13:2.3.0
Not found
Not found
not found: d:\sbt\.ivy2\localorg.apache.spark\spark-sql_2.13\2.3.0\ivys\ivy.xml
not found: https://repo1.maven.org/maven2/org/apache/spark/spark-sql_2.13/2.3.0/spark-sql_2.13-2.3.0.pom
not found: https://repo.scala-sbt.org/scalasbt/maven-releases/org/apache/spark/spark-sql_2.13/2.3.0/spark-sql_2.13-2.3.0.pom
not found: https://repo.scala-sbt.org/scalasbt/maven-snapshots/org/apache/spark/spark-sql_2.13/2.3.0/spark-sql_2.13-2.3.0.pom
not found: https://repo.typesafe.com/typesafe/ivy-releases/org.apache.spark/spark-sql_2.13/2.3.0/ivys/ivy.xml
not found: https://repo.scala-sbt.org/scalasbt/ivy-snapshots/org.apache.spark/spark-sql_2.13/2.3.0/ivys/ivy.xml
Error downloading org.pentaho:pentaho-aggdesigner-algorithm:5.1.5-jhyde
Not found
Not found
not found: d:\sbt\.ivy2\localorg.pentaho\pentaho-aggdesigner-algorithm\5.1.5-jhyde\ivys\ivy.xml
not found: https://repo1.maven.org/maven2/org/pentaho/pentaho-aggdesigner-algorithm/5.1.5-jhyde/pentaho-aggdesigner-algorithm-5.1.5-jhyde.pom
not found: https://repo.scala-sbt.org/scalasbt/maven-releases/org/pentaho/pentaho-aggdesigner-algorithm/5.1.5-jhyde/pentaho-aggdesigner-algorithm-5.1.5-jhyde.pom
not found: https://repo.scala-sbt.org/scalasbt/maven-snapshots/org/pentaho/pentaho-aggdesigner-algorithm/5.1.5-jhyde/pentaho-aggdesigner-algorithm-5.1.5-jhyde.pom
not found: https://repo.typesafe.com/typesafe/ivy-releases/org.pentaho/pentaho-aggdesigner-algorithm/5.1.5-jhyde/ivys/ivy.xml
not found: https://repo.scala-sbt.org/scalasbt/ivy-snapshots/org.pentaho/pentaho-aggdesigner-algorithm/5.1.5-jhyde/ivys/ivy.xml
(ssExtractDependencies) sbt.librarymanagement.ResolveException: Error downloading org.apache.spark:spark-hive_2.13:2.3.0
Not found
Not found
not found: d:\sbt\.ivy2\localorg.apache.spark\spark-hive_2.13\2.3.0\ivys\ivy.xml
not found: https://repo1.maven.org/maven2/org/apache/spark/spark-hive_2.13/2.3.0/spark-hive_2.13-2.3.0.pom
not found: https://repo.scala-sbt.org/scalasbt/maven-releases/org/apache/spark/spark-hive_2.13/2.3.0/spark-hive_2.13-2.3.0.pom
not found: https://repo.scala-sbt.org/scalasbt/maven-snapshots/org/apache/spark/spark-hive_2.13/2.3.0/spark-hive_2.13-2.3.0.pom
not found: https://repo.typesafe.com/typesafe/ivy-releases/org.apache.spark/spark-hive_2.13/2.3.0/ivys/ivy.xml
not found: https://repo.scala-sbt.org/scalasbt/ivy-snapshots/org.apache.spark/spark-hive_2.13/2.3.0/ivys/ivy.xml
Error downloading org.apache.spark:spark-mllib_2.13:2.3.0
Not found
Not found
not found: d:\sbt\.ivy2\localorg.apache.spark\spark-mllib_2.13\2.3.0\ivys\ivy.xml
not found: https://repo1.maven.org/maven2/org/apache/spark/spark-mllib_2.13/2.3.0/spark-mllib_2.13-2.3.0.pom
not found: https://repo.scala-sbt.org/scalasbt/maven-releases/org/apache/spark/spark-mllib_2.13/2.3.0/spark-mllib_2.13-2.3.0.pom
not found: https://repo.scala-sbt.org/scalasbt/maven-snapshots/org/apache/spark/spark-mllib_2.13/2.3.0/spark-mllib_2.13-2.3.0.pom
not found: https://repo.typesafe.com/typesafe/ivy-releases/org.apache.spark/spark-mllib_2.13/2.3.0/ivys/ivy.xml
not found: https://repo.scala-sbt.org/scalasbt/ivy-snapshots/org.apache.spark/spark-mllib_2.13/2.3.0/ivys/ivy.xml
Error downloading org.apache.spark:spark-core_2.13:2.3.0
Not found
Not found
not found: d:\sbt\.ivy2\localorg.apache.spark\spark-core_2.13\2.3.0\ivys\ivy.xml
not found: https://repo1.maven.org/maven2/org/apache/spark/spark-core_2.13/2.3.0/spark-core_2.13-2.3.0.pom
not found: https://repo.scala-sbt.org/scalasbt/maven-releases/org/apache/spark/spark-core_2.13/2.3.0/spark-core_2.13-2.3.0.pom
not found: https://repo.scala-sbt.org/scalasbt/maven-snapshots/org/apache/spark/spark-core_2.13/2.3.0/spark-core_2.13-2.3.0.pom
not found: https://repo.typesafe.com/typesafe/ivy-releases/org.apache.spark/spark-core_2.13/2.3.0/ivys/ivy.xml
not found: https://repo.scala-sbt.org/scalasbt/ivy-snapshots/org.apache.spark/spark-core_2.13/2.3.0/ivys/ivy.xml
Error downloading org.apache.spark:spark-sql_2.13:2.3.0
Not found
Not found
not found: d:\sbt\.ivy2\localorg.apache.spark\spark-sql_2.13\2.3.0\ivys\ivy.xml
not found: https://repo1.maven.org/maven2/org/apache/spark/spark-sql_2.13/2.3.0/spark-sql_2.13-2.3.0.pom
not found: https://repo.scala-sbt.org/scalasbt/maven-releases/org/apache/spark/spark-sql_2.13/2.3.0/spark-sql_2.13-2.3.0.pom
not found: https://repo.scala-sbt.org/scalasbt/maven-snapshots/org/apache/spark/spark-sql_2.13/2.3.0/spark-sql_2.13-2.3.0.pom
not found: https://repo.typesafe.com/typesafe/ivy-releases/org.apache.spark/spark-sql_2.13/2.3.0/ivys/ivy.xml
not found: https://repo.scala-sbt.org/scalasbt/ivy-snapshots/org.apache.spark/spark-sql_2.13/2.3.0/ivys/ivy.xml
Error downloading org.pentaho:pentaho-aggdesigner-algorithm:5.1.5-jhyde
Not found
Not found
not found: d:\sbt\.ivy2\localorg.pentaho\pentaho-aggdesigner-algorithm\5.1.5-jhyde\ivys\ivy.xml
not found: https://repo1.maven.org/maven2/org/pentaho/pentaho-aggdesigner-algorithm/5.1.5-jhyde/pentaho-aggdesigner-algorithm-5.1.5-jhyde.pom
not found: https://repo.scala-sbt.org/scalasbt/maven-releases/org/pentaho/pentaho-aggdesigner-algorithm/5.1.5-jhyde/pentaho-aggdesigner-algorithm-5.1.5-jhyde.pom
not found: https://repo.scala-sbt.org/scalasbt/maven-snapshots/org/pentaho/pentaho-aggdesigner-algorithm/5.1.5-jhyde/pentaho-aggdesigner-algorithm-5.1.5-jhyde.pom
not found: https://repo.typesafe.com/typesafe/ivy-releases/org.pentaho/pentaho-aggdesigner-algorithm/5.1.5-jhyde/ivys/ivy.xml
not found: https://repo.scala-sbt.org/scalasbt/ivy-snapshots/org.pentaho/pentaho-aggdesigner-algorithm/5.1.5-jhyde/ivys/ivy.xml
Total time: 12 s, completed 2021-11-13 16:41:07

写回答

1回答

小简同学

2021-11-15

同学你好,这种情况是依赖没有完全下载,是网络的问题,看到你的报错日志,好像是没有配置国内镜像,最好配置一下sbt的国内镜像,安装文档有介绍。祝学习愉快!

//img.mukewang.com/szimg/6191dd7c0971564812971108.jpg


//img.mukewang.com/szimg/6191dd900936a60918610984.jpg

0
0

Spark+ES+ClickHouse 构建DMP用户画像

大数据主流技术,数据挖掘核心算法,用户画像完整知识轻松掌握

306 学习 · 219 问题

查看课程