2016-07-16 10 views
3

私はスカラを使ってプロットを始めようとしています。私は彼らの手紙が、SBTへguideがエラーを返し、次のい:plotly scala 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は次のとおりです。Mavenの中央にのみ0.1バージョン

name := "plotly" 

version := "1.0" 

scalaVersion := "2.11.8" 

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

'build.sbt'には何がありますか? – ipoteka

+0

が追加されましたbuild.sbt – Lindon

答えて

3

あり - 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" 
関連する問題