gpt4 book ai didi

scala - sbt 不解析类型安全存储库

转载 作者:行者123 更新时间:2023-12-04 13:02:17 25 4
gpt4 key购买 nike

我对 sbt 和 Typesafe 存储库有一个奇怪的问题:

[info] Resolving com.typesafe.play#play-json_2.10;2.2.0 ...
[warn] module not found: com.typesafe.play#play-json_2.10;2.2.0
[warn] ==== local: tried
[warn] /Users/hhrutz/.ivy2/local/com.typesafe.play/play-json_2.10/2.2.0/ivys/ivy.xml
[warn] ==== public: tried
[warn] http://repo1.maven.org/maven2/com/typesafe/play/play-json_2.10/2.2.0/play-json_2.10-2.2.0.pom
[warn] ==== Typesafe Releases: tried
[warn] https://repo.typesafe.com/typesafe/releases/com/typesafe/play/play-json_2.10/2.2.0/play-json_2.10-2.2.0.pom
[info] Resolving org.fusesource.jansi#jansi;1.4 ...
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: UNRESOLVED DEPENDENCIES ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: com.typesafe.play#play-json_2.10;2.2.0: not found
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
sbt.ResolveException: unresolved dependency: com.typesafe.play#play-json_2.10;2.2.0: not found

我可以从 http://repo.typesafe.com/typesafe/releases/com/typesafe/play/play-json_2.10/2.2.0/ 手动下载 .pom 和 .jar所以服务器肯定在那里。

这可能是sbt问题吗?如果它肯定有正确的 URL,它为什么会失败的任何线索?

最佳答案

解析器似乎存在未知问题

resolvers += "Typesafe Releases" at "https://repo.typesafe.com/typesafe/releases/"

寻找 this question ,这个问题可以通过添加另一个解析器来解决:
resolvers += "Typesafe Simple Repository" at
"http://repo.typesafe.com/typesafe/simple/maven-releases/"

关于scala - sbt 不解析类型安全存储库,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20497271/

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