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

标签 scala intellij-idea sbt plotly

我正在尝试开始使用 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/

相关文章:

带有 Coproduct 和 monad 转换器的 Scala Free Monads

java - 没有 Java 的 Android

intellij-idea - IntelliJ : how did I manage to get a v (check) sign next to the line numbers?

java - play framework migrate to 2.1.1让我很头疼

scala - 使用 sbt-assembly 的 assembly-merge-strategy 问题

unit-testing - Scalamock "annotation"库

java - scala 对象单例中的方法不是静态的?

intellij-idea - Grails 设置同步失败。无法创建/Users/<username>/.grails/scripts/IdeaPrintProjectSettings.groovy

java - net::ERR_CONNECTION_RESET 与 Tomcat 6

scala - 类型、元组、隐式优先级和重载方法