РАЗРЕШЕННЫЕ ЗАВИСИМОСТИ org.openrdF#sesame;2.3.1: не найдено
Я пытаюсь использовать spark с C-SPARQL в проекте sbt, я получаю неразрешенные ошибки зависимостей при попытке построить проект
[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"
1 ответ
Пожалуйста, проверьте версию openrdf, которую вы используете. Он не указан на Maven. Вы можете попробовать более новую версию библиотеки
libraryDependencies += "org.openrdf.sesame" % "sesame-runtime" % "2.8.2"