gpt4 book ai didi

scala - 在 sbt 项目中使用 Maven Central 的处理库时出现奇怪的错误

转载 作者:行者123 更新时间:2023-12-03 23:10:22 24 4
gpt4 key购买 nike

我正在尝试使用 processing java library在 sbt 项目中,所以我在 build.sbt 中添加了一行:

name := "testJson"

version := "1.0"

scalaVersion := "2.11.7"

//libraryDependencies += "io.spray" %% "spray-json" % "1.3.2"

libraryDependencies += "org.processing" % "processing-complete" % "3.0b5"

我收到一个错误:

[warn] 
[FAILED ] org.processing#processing-complete;3.0b5!processing-complete.jar: (0ms)
[warn] ==== local: tried
[warn] /Users/kaiyin/.ivy2/local/org.processing/processing-complete/3.0b5/jars/processing-complete.jar
[warn] ==== activator-launcher-local: tried
[warn] /Users/kaiyin/.activator/repository/org.processing/processing-complete/3.0b5/jars/processing-complete.jar
[warn] ==== activator-local: tried
[warn] /Users/kaiyin/opt/activator-dist-1.3.5/repository/org.processing/processing-complete/3.0b5/jars/processing-complete.jar
[warn] ==== public: tried
[warn] https://repo1.maven.org/maven2/org/processing/processing-complete/3.0b5/processing-complete-3.0b5.jar
[warn] ==== typesafe-releases: tried
[warn] http://repo.typesafe.com/typesafe/releases/org/processing/processing-complete/3.0b5/processing-complete-3.0b5.jar
[warn] ==== typesafe-ivy-releasez: tried
[warn] http://repo.typesafe.com/typesafe/ivy-releases/org.processing/processing-complete/3.0b5/jars/processing-complete.jar
[warn]
[FAILED ] org.processing#processing-complete;3.0b5!processing-complete.jar(src): (0ms)
[warn] ==== local: tried
[warn] /Users/kaiyin/.ivy2/local/org.processing/processing-complete/3.0b5/srcs/processing-complete-sources.jar
[warn] ==== activator-launcher-local: tried
[warn] /Users/kaiyin/.activator/repository/org.processing/processing-complete/3.0b5/srcs/processing-complete-sources.jar
[warn] ==== activator-local: tried
[warn] /Users/kaiyin/opt/activator-dist-1.3.5/repository/org.processing/processing-complete/3.0b5/srcs/processing-complete-sources.jar
[warn] ==== public: tried
[warn] https://repo1.maven.org/maven2/org/processing/processing-complete/3.0b5/processing-complete-3.0b5-sources.jar
[warn] ==== typesafe-releases: tried
[warn] http://repo.typesafe.com/typesafe/releases/org/processing/processing-complete/3.0b5/processing-complete-3.0b5-sources.jar
[warn] ==== typesafe-ivy-releasez: tried
[warn] http://repo.typesafe.com/typesafe/ivy-releases/org.processing/processing-complete/3.0b5/srcs/processing-complete-sources.jar
[warn]
[FAILED ] org.processing#processing-complete;3.0b5!processing-complete.jar(doc): (0ms)
[warn] ==== local: tried
[warn] /Users/kaiyin/.ivy2/local/org.processing/processing-complete/3.0b5/docs/processing-complete-javadoc.jar
[warn] ==== activator-launcher-local: tried
[warn] /Users/kaiyin/.activator/repository/org.processing/processing-complete/3.0b5/docs/processing-complete-javadoc.jar
[warn] ==== activator-local: tried
[warn] /Users/kaiyin/opt/activator-dist-1.3.5/repository/org.processing/processing-complete/3.0b5/docs/processing-complete-javadoc.jar
[warn] ==== public: tried
[warn] https://repo1.maven.org/maven2/org/processing/processing-complete/3.0b5/processing-complete-3.0b5-javadoc.jar
[warn] ==== typesafe-releases: tried
[warn] http://repo.typesafe.com/typesafe/releases/org/processing/processing-complete/3.0b5/processing-complete-3.0b5-javadoc.jar
[warn] ==== typesafe-ivy-releasez: tried
[warn] http://repo.typesafe.com/typesafe/ivy-releases/org.processing/processing-complete/3.0b5/docs/processing-complete-javadoc.jar
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: FAILED DOWNLOADS ::
[warn] :: ^ see resolution messages for details ^ ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: org.processing#processing-complete;3.0b5!processing-complete.jar
[warn] :: org.processing#processing-complete;3.0b5!processing-complete.jar(src)
[warn] ::

这是什么意思以及如何解决?

最佳答案

尽管 pom 存在,但 Artifact 不存在。请参阅http://search.maven.org/#search%7Cga%7C1%7Corg.processing 。在这里您可以看到哪些 Artifact 可用于哪些 pom。我怀疑核心 Artifact 可能就是你想要的。

关于scala - 在 sbt 项目中使用 Maven Central 的处理库时出现奇怪的错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32268548/

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