sbt编译spark源码

本文记录了一次使用SBT构建工具时遇到的问题:在尝试获取Scala-SBT版本0.13.7的过程中,由于无法访问多个镜像站点(如jcenter.bintray.com, repo.typesafe.com等),导致模块依赖解决失败。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >



[username@server1 spark-1.5.2]$ /data/2/functionId/tmp/compile/sbt/bin/sbt gen-idea
Getting org.scala-sbt sbt 0.13.7 ...
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.
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.
You probably access the destination server through a proxy server that is not well configured.

:: problems summary ::
:::: WARNINGS
        Host jcenter.bintray.com not found. url=https://jcenter.bintray.com/org/scala-sbt/sbt/0.13.7/sbt-0.13.7.pom

        Host jcenter.bintray.com not found. url=https://jcenter.bintray.com/org/scala-sbt/sbt/0.13.7/sbt-0.13.7.jar

        Host repo.typesafe.com not found. url=https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/sbt/0.13.7/ivys/ivy.xml

        Host repo1.maven.org not found. url=https://repo1.maven.org/maven2/org/scala-sbt/sbt/0.13.7/sbt-0.13.7.pom

        Host repo1.maven.org not found. url=https://repo1.maven.org/maven2/org/scala-sbt/sbt/0.13.7/sbt-0.13.7.jar

                module not found: org.scala-sbt#sbt;0.13.7

        ==== local: tried

          /home/username/.ivy2/local/org.scala-sbt/sbt/0.13.7/ivys/ivy.xml

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

          /home/username/.ivy2/local/org.scala-sbt/sbt/0.13.7/jars/sbt.jar

        ==== jcenter: tried

          https://jcenter.bintray.com/org/scala-sbt/sbt/0.13.7/sbt-0.13.7.pom

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

          https://jcenter.bintray.com/org/scala-sbt/sbt/0.13.7/sbt-0.13.7.jar

        ==== typesafe-ivy-releases: tried

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

        ==== Maven Central: tried

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

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

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

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

                ::          UNRESOLVED DEPENDENCIES         ::

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

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

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

:: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
unresolved dependency: org.scala-sbt#sbt;0.13.7: not found
Error during sbt execution: Error retrieving required libraries
  (see /home/username/.sbt/boot/update.log for complete log)
Error: Could not retrieve sbt 0.13.7
[username@server1 spark-1.5.2]$ ^C



评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值