加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > 安全 > 正文

scala – 由于未解析的依赖性,无法构建sbt 0.12.0-RC1

发布时间:2020-12-16 08:48:06 所属栏目:安全 来源:网络整理
导读:我正按照 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 ==== lo
我正按照 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开始下载你会感觉更好.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读