4
私はリポジトリから依存関係を取得しようとしていました。org.neo4jへの依存関係が見つかりません:neo4j-cypher-dsl:jar:2.0.1
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion> 4.0.0 </modelVersion>
<groupId> com.tp.neo4j </groupId>
<artifactId> springdata-neo4j </artifactId>
<version> 1.0 </version>
<dependencies>
<dependency>
<groupId> org.springframework.data </groupId>
<artifactId> spring-data-neo4j </artifactId>
<version> 3.1.2.RELEASE </version>
</dependency>
</dependencies>
</project>
org.neo4j:neo4j-cypher-dsl:jar:2.0.1
を除くすべての依存関係がダウンロードされました。以下のエラーを表示します。
[INFO] Building springdata-neo4j 1.0
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for org.neo4j:neo4j-cypher-dsl:jar:2.0.1 is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 11.409s
[INFO] Finished at: Tue Jun 28 13:07:07 IST 2016
[INFO] Final Memory: 6M/153M
[INFO] ------------------------------------------------------------------------
[ERROR]Failed to execute goal on project springdata-neo4j: Could not resolve dependencies for project com.tp.neo4j:springdata-neo4j:jar:1.0: Failure to find org.neo4j:neo4j-cypher-dsl:jar:2.0.1 in https://maven......../repositories/core-releases was cached in the local repository, resolution will not be reattempted until the update interval of core-releases has elapsed or updates are forced -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
私は同じことを除いてみました。しかし、まだ動作していません。
<exclusions>
<exclusion>
<groupId>org.neo4j</groupId>
<artifactId>neo4j-cypher</artifactId>
</exclusion>
</exclusions>
\.m2\repository\org\neo4j
フォルダを削除して再試行しました。まだ動かない。私はneo4j-cypher-dslがバージョン2.0.1を持っていることに気付きましたが、ほとんどのものは2.2.5を持っていました。私はコアリリースでなぜ1つの依存関係が欠落しているのだろうかと思います。
それは ''春・データのNeo4jのため \t \t \t 4.0.0.RELEASE を進めています。しかし、 'org.springframework.data.neo4j.repository.GraphRepository'にコンパイルエラーを表示しています。 'インポートorg.springframeworkは解決できません。 –
NaaN
を追加しました '<リポジトリ> \t \t \t \t \t 春-リリース \t \t \t 春リリース \t \t \t https://repo.spring.io/libs-release \t \t \t \t \t \t \t のNeo4j \t \t \t のNeo4j \t \t \t http://m2.neo4j.org/ \t \t \tリポジトリ> '。まだ同じエラー。 –
NaaN
バージョンをアップグレードするときに例外を通知できますか?このバージョンの使用を検討し、何が間違っているかを見つけて、Michaelが述べたような古いバージョンを使用しないようにする必要があります。 – Apostolos