gpt4 book ai didi

neo4j - 找不到 org.neo4j :neo4j-cypher-dsl:jar:2. 0.1 的依赖项

转载 作者:行者123 更新时间:2023-12-02 05:32:14 25 4
gpt4 key购买 nike

我试图从存储库中获取依赖项,在 pom.xml 下面给出。

<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。我想知道为什么核心版本中只缺少一个依赖项。

最佳答案

为什么要用这么旧的版本?这几乎已经过时了 2 年吗?

您必须将 m2.neo4j.org 作为 Maven 存储库添加到您的存储库部分。

关于neo4j - 找不到 org.neo4j :neo4j-cypher-dsl:jar:2. 0.1 的依赖项,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38070162/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com