You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

SBT下载io.spray:sbt-revolver失败:构件为何被移除?是否有替代仓库?

sbt-revolver 0.9.1构件无法获取的问题解答

错误信息

(update) sbt.librarymanagement.ResolveException: Error downloading io.spray:sbt-revolver;sbtVersion=1.0;scalaVersion=2.12:0.9.1
[error]  Not found
[error]  Not found
[error]   not found: https://repo1.maven.org/maven2/io/spray/sbt-revolver_2.12_1.0/0.9.1/sbt-revolver-0.9.1.pom 
not found: https://repo1.maven.org/maven2/io/spray/sbt-revolver_2.12_1.0/0.9.1/sbt-revolver-0.9.1.pom 

构件被移除的原因

  • sbt-revolver项目后期迁移了组织ID,从io.spray变更为io.spray.revolver,旧组织下的部分早期版本构件因项目迁移、仓库维护清理等原因,被从Maven中央仓库移除。
  • 0.9.1是适配sbt 1.x的早期版本,随着项目迭代,该版本已不再被官方维护,中央仓库会定期清理这类无维护的旧构件。

构件获取方案

  • 推荐升级版本:使用迁移后组织ID下的兼容版本,适配sbt 1.0和Scala 2.12的稳定版本为io.spray.revolver:sbt-revolver:0.10.0,该版本完全支持sbt 1.x系列,且在中央仓库可正常获取。
  • 获取旧版本:若必须使用0.9.1,可尝试从项目GitHub归档中找到对应版本的源码自行编译,发布到本地仓库使用;也可查找第三方镜像仓库(注意镜像安全性),但JCenter等曾托管该构件的仓库已停止服务,需谨慎选择。

内容的提问来源于stack exchange,提问作者Maftunbek

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.25 15:22:10