-
Notifications
You must be signed in to change notification settings - Fork 41.7k
Closed
Labels
status: supersededAn issue that has been superseded by anotherAn issue that has been superseded by another
Description
Enhancement
https://neo4j.com/blog/spring-data-neo4j-4-1-milestone-1/ suggests that Spring Data does support it, though I can't find a reference in the spring data docs, so maybe not.
I can't find anything in spring boot docs either. This is the error I get on the server when configuring with a bolt:// uri. If I need to produce an example product I can.
I did add this to my dep list
<dependency>
<scope>runtime</scope>
<groupId>org.neo4j</groupId>
<artifactId>neo4j-ogm-bolt-driver</artifactId>
<version>${neo4j-ogm.version}</version>
</dependency>[rpf-4b2e34af-1]2016-08-19T02:24:38.321095190Z 2016-08-19 02:24:38.320 WARN 5 --- [ main] ationConfigEmbeddedWebApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.springframework.boot.autoconfigure.data.neo4j.Neo4jDataAutoConfiguration$SpringBootNeo4jConfiguration': Unsatisfied dependency expressed through constructor parameter 1: Error creating bean with name 'configuration' defined in class path resource [org/springframework/boot/autoconfigure/data/neo4j/Neo4jDataAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.neo4j.ogm.config.Configuration]: Factory method 'configuration' threw exception; nested exception is java.lang.IllegalArgumentException: Could not deduce driver to use based on URI 'bolt://localhost:7687'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'configuration' defined in class path resource [org/springframework/boot/autoconfigure/data/neo4j/Neo4jDataAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.neo4j.ogm.config.Configuration]: Factory method 'configuration' threw exception; nested exception is java.lang.IllegalArgumentException: Could not deduce driver to use based on URI 'bolt://localhost:7687'
the short Could not deduce driver to use based on URI 'bolt://localhost:7687
since bolt is the binary protocol driver it would be nice to support it by configuring spring.data.neo4j.uri=bolt://...
In the event this is a documentation oversight, please add some
Metadata
Metadata
Assignees
Labels
status: supersededAn issue that has been superseded by anotherAn issue that has been superseded by another