我有一个Grails 2.4.4应用程序,当我尝试通过the plugin安装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)这是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( >>>> org.neo4j:neo4j-jdbc:2.0.2行以红色突出显示。)
有没有其他版本的插件可以工作?还是更新版本的Grails?或者我只是需要一杯新版本的咖啡?
发布于 2015-04-26 17:00:22
Maven驱动程序不能通过Neo4j central获得。相反,它可以在http://m2.neo4j.org/上找到。所以你需要在BuildConfig.groovy中修改repositories闭包:
mavenRepo 'http://m2.neo4j.org/content/repositories/releases/'https://stackoverflow.com/questions/29867778
复制相似问题