我从Spring Boot中得到这个错误。我怎样才能使用弹簧启动/数据Neo4j螺栓驱动器
Could not deduce driver to use based on URI 'bolt://localhost:7687
试图与性能配置,或env中时可变
spring.data.neo4j.uri=bolt://localhost:7687
我并添加驱动程序
<dependency>
<scope>runtime</scope>
<groupId>org.neo4j</groupId>
<artifactId>neo4j-ogm-bolt-driver</artifactId>
<version>${neo4j-ogm.version}</version>
</dependency>
我imagine spring boot doesn't support autoconfiguration for this yet
我如何手动设置此驱动程序了使用Spring Boot/Data?请举个例子。
这个程序似乎显示的Neo4j-OGM +弹簧启动(虽然使用Groovy),所以看起来像它的支持。 https://github.com/neo4j-examples/neo4j-ogm-university/tree/2.0 –
@ icyrock.com https://github.com/neo4j-examples/neo4j-ogm-university/blob/2.0/src/ main/resources/ogm.properties看起来像是使用http,它们不是弹簧引导属性,但它可能是一种方法来做到这一点 – xenoterracide