简体   繁体   English

Neo4j插件损坏还是Grails 2.4.4?

[英]Is the Neo4j plugin broken or is Grails 2.4.4?

I have a Grails 2.4.4 app and when I try to install Neo4j by means of the plugin , I get this: 我有一个Grails 2.4.4应用程序,当我尝试通过插件安装Neo4j时,我得到了:

| Error Resolve error obtaining dependencies: Could not find artifact org.neo4j:neo4j-jdbc:jar:2.0.2 in grailsCentral (https://repo.grails.org/grails/plugins) (Use --stacktrace to see the full trace)
| Error Resolve error obtaining dependencies: Could not find artifact org.neo4j:neo4j-jdbc:jar:2.0.2 in grailsCentral (https://repo.grails.org/grails/plugins) (Use --stacktrace to see the full trace)
| Error Resolve error obtaining dependencies: Could not find artifact org.neo4j:neo4j-jdbc:jar:2.0.2 in grailsCentral (https://repo.grails.org/grails/plugins) (Use --stacktrace to see the full trace)
| Error Could not find artifact org.neo4j:neo4j-jdbc:jar:2.0.2 in grailsCentral (https://repo.grails.org/grails/plugins)

This is the relevant output from grails dependency-report : 这是grails dependency-report的相关输出:

+--- org.grails.plugins:neo4j:2.0.0-M02
|    \--- org.grails:grails-datastore-gorm-neo4j:2.0.0-M02
|    >>>> org.neo4j:neo4j-jdbc:2.0.2
|    \--- org.neo4j:neo4j-community:2.0.3
|         \--- org.neo4j:neo4j-kernel:2.0.3
|              \--- org.apache.geronimo.specs:geronimo-jta_1.1_spec:1.1.1
|         \--- org.neo4j:neo4j-lucene-index:2.0.3
|              \--- org.apache.lucene:lucene-core:3.6.2
|         \--- org.neo4j:neo4j-graph-algo:2.0.3
|         \--- org.neo4j:neo4j-udc:2.0.3
|         \--- org.neo4j:neo4j-graph-matching:2.0.3
|         \--- org.neo4j:neo4j-cypher:2.0.3
|              \--- org.neo4j:neo4j-cypher-commons:2.0.3
|              \--- org.neo4j:neo4j-cypher-compiler-1.9:2.0.3
|              \--- org.neo4j:neo4j-cypher-compiler-2.0:2.0.3
|                   \--- org.parboiled:parboiled-scala_2.10:1.1.6
|                        \--- org.parboiled:parboiled-core:1.1.6
|                   \--- net.sf.opencsv:opencsv:2.0
|              \--- org.scala-lang:scala-library:2.10.3
|         \--- org.neo4j:neo4j-jmx:2.0.3
|    \--- org.grails:grails-datastore-gorm-plugin-support:2.0.7.RELEASE
|    \--- org.grails:grails-datastore-web:2.0.7.RELEASE

(The >>>> org.neo4j:neo4j-jdbc:2.0.2 line is highlighted in red.) >>>> org.neo4j:neo4j-jdbc:2.0.2行以红色突出显示。)

Is there another version of the plugin that would work? 插件是否还有其他版本可用? Or a newer version of Grails? 还是较新版本的Grails? Or do I just need a newer version of some coffee? 还是我只需要更新版本的咖啡?

The Neo4j JDBC driver is not available via Maven central. Neo4j JDBC驱动程序无法通过Maven Central使用。 Instead it can be found on http://m2.neo4j.org/ . 相反,可以在http://m2.neo4j.org/上找到它。 So you need repositories closure in BuildConfig.groovy amend: 因此,您需要在BuildConfig.groovy修改repositories关闭方式:

mavenRepo 'http://m2.neo4j.org/content/repositories/releases/'

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM