gpt4 book ai didi

scala - 未找到 plotply scala sbt Unresolved 依赖项

转载 作者:行者123 更新时间:2023-12-01 07:46:35 24 4
gpt4 key购买 nike

我正在尝试开始使用 Scala 进行绘图。我正在关注他们的 guide严格来说,但 sbt 返回错误:

Error:Error while importing SBT project:
[info] Resolving org.scala-sbt#run;0.13.8 ...
[info] Resolving org.scala-sbt#task-system;0.13.8 ...
[info] Resolving org.scala-sbt#tasks;0.13.8 ...
[info] Resolving org.scala-sbt#tracking;0.13.8 ...
[info] Resolving org.scala-sbt#cache;0.13.8 ...
[info] Resolving org.scala-sbt#testing;0.13.8 ...
[info] Resolving org.scala-sbt#test-agent;0.13.8 ...
[info] Resolving org.scala-sbt#test-interface;1.0 ...
[info] Resolving org.scala-sbt#main-settings;0.13.8 ...
[info] Resolving org.scala-sbt#apply-macro;0.13.8 ...
[info] Resolving org.scala-sbt#command;0.13.8 ...
[info] Resolving org.scala-sbt#logic;0.13.8 ...
[info] Resolving org.scala-sbt#precompiled-2_8_2;0.13.8 ...
[info] Resolving org.scala-sbt#precompiled-2_9_2;0.13.8 ...
[info] Resolving org.scala-sbt#precompiled-2_9_3;0.13.8 ...
[trace] Stack trace suppressed: run 'last *:update' for the full output.
[trace] Stack trace suppressed: run 'last *:ssExtractDependencies' for the full output.
[error] (*:update) sbt.ResolveException: unresolved dependency: co.theasi#plotly_2.11;0.2.0: not found
[error] (*:ssExtractDependencies) sbt.ResolveException: unresolved dependency: co.theasi#plotly_2.11;0.2.0: not found
[error] Total time: 10 s, completed Jul 16, 2016 3:29:59 PM</pre><br/>See complete log in <a href="/home/michael/.IdeaIC2016.1/system/log/sbt.last.log">/home/michael/.IdeaIC2016.1/system/log/sbt.last.log</a>

有人可以帮我解决这个问题吗?

我的build.sbt如下:

name := "plotly"

version := "1.0"

scalaVersion := "2.11.8"

libraryDependencies += "co.theasi" %% "plotly" % "0.2.0"

最佳答案

maven central 上只有0.1 版本- link . 0.2 尚未发布。要使用 0.2 版本,请更改您的 build.sbt 文件:

resolvers += "Sonatype OSS Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots"
libraryDependencies += "co.theasi" %% "plotly" % "0.2-SNAPSHOT"

关于scala - 未找到 plotply scala sbt Unresolved 依赖项,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38414882/

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