我想在SBT項目中使用的火花與C-SPARQL, 試圖建立項目未解決的依賴org.openrdf#芝麻; 2.3.1:找不到
[info] Resolving org.openrdf#sesame;2.3.1 ...
[warn] module not found: org.openrdf#sesame;2.3.1
[warn] ==== local: tried
[warn] /home/linux/.ivy2/local/org.openrdf/sesame/2.3.1/ivys/ivy.xml
[warn] ==== public: tried
[warn] https://repo1.maven.org/maven2/org/openrdf/sesame/2.3.1/sesame-2.3.1.pom
[info] Resolving org.scala-lang#scala-compiler;2.10.4 ...
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: UNRESOLVED DEPENDENCIES ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: org.openrdf#sesame;2.3.1: not found
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn]
[warn] Note: Unresolved dependencies path:
[warn] org.openrdf:sesame:2.3.1
[warn] +- eu.larkc.csparql:csparql-sparql-sesame:0.1 (/home/linux/workspace/sbtC-SPARQL/plugins.sbt#L17-18)
[warn] +- eu.larkc.csparql:csparql-core:0.1 (/home/linux/workspace/sbtC-SPARQL/plugins.sbt#L15-16)
[warn] +- default:sbtc-sparql_2.10:0.1-SNAPSHOT
[trace] Stack trace suppressed: run last *:update for the full output.
[error] (*:update) sbt.ResolveException: unresolved dependency: org.openrdf#sesame;2.3.1: not found
當我收到未解決的依賴錯誤
我加了一些圖書館在pluguin.sbt文件如:
libraryDependencies += "eu.larkc.csparql" % "csparql-cep-api" % "0.1"
libraryDependencies += "eu.larkc.csparql" % "csparql-core" % "0.1"
libraryDependencies += "eu.larkc.csparql" % "csparql-sparql-sesame" % "0.1"
libraryDependencies += "org.fusesource.jansi" % "jansi" % "1.4"
libraryDependencies += "org.scala-lang" % "jline" % "2.10.4"
重複:http://stackoverflow.com/questions/32274826/how-to-use-csparql-readytogopack-0-9-in-a-sbt-project – AndyS
CSPARQL-ReadyToGoPack-0.9包含它所需的庫副本。你可以從它的lib /目錄中使用它們。查看其他問題。 – AndyS