gpt4 book ai didi

scala - 由于 Unresolved 依赖关系,无法构建 sbt 0.12.0-RC1

转载 作者:行者123 更新时间:2023-12-01 02:33:55 27 4
gpt4 key购买 nike

我正在尝试按照 https://github.com/harrah/xsbt 的说明构建 sbt 0.12.0-RC1信,但它无法下载先前版本的 sbt。

Getting org.scala-sbt sbt_2.9.1 0.12.0-M2 ...

:: problems summary ::
:::: WARNINGS
module not found: org.scala-sbt#sbt_2.9.1;0.12.0-M2

==== local: tried

/home/k/.ivy2/local/org.scala-sbt/sbt_2.9.1/0.12.0-M2/ivys/ivy.xml

==== typesafe-ivy-releases: tried

http://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/sbt_2.9.1/0.12.0-M2/ivys/ivy.xml

==== Maven Central: tried

http://repo1.maven.org/maven2/org/scala-sbt/sbt_2.9.1/0.12.0-M2/sbt_2.9.1-0.12.0-M2.pom

==== sonatype-snapshots: tried

https://oss.sonatype.org/content/repositories/snapshots/org/scala-sbt/sbt_2.9.1/0.12.0-M2/sbt_2.9.1-0.12.0-M2.pom

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

:: UNRESOLVED DEPENDENCIES ::

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

:: org.scala-sbt#sbt_2.9.1;0.12.0-M2: not found

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



:: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
unresolved dependency: org.scala-sbt#sbt_2.9.1;0.12.0-M2: not found
Error during sbt execution: Error retrieving required libraries
(see /home/k/.sbt/boot/update.log for complete log)
Error: Could not retrieve sbt 0.12.0-M2

最佳答案

在构建 sbt 0.12-RC1 之前,您需要安装 sbt 0.12-M2。

这是在“Build from source”点3下:

Note that sbt is always built with the previous stable release. For example, the 0.12 branch is built with 0.12.0-M2, the v0.11.2 tag is built with 0.11.1, and the v0.11.0 tag is built with 0.10.1.



我想只要从 their repository 下载,你会感觉更好。 .

关于scala - 由于 Unresolved 依赖关系,无法构建 sbt 0.12.0-RC1,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11221464/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com