cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

Spring boot java driver bolt dependency in MAVEN

the dependency of OGM (Object graph mapping) is not getting added in pom.xml in spring boot and not detecting; when adding the bolt driver to connect to neo 4j
I have used all these dependencies (but getting error of missing artifact):

org.neo4j
neo4j-ogm-core
3.2
compile

	<!-- Only add if you're using the Bolt driver -->
	<dependency>
	    <groupId>org.neo4j</groupId>
	    <artifactId>neo4j-ogm-bolt-driver</artifactId>
	    <version>3.2</version>
	    <scope>runtime</scope>
	</dependency>
	
	<dependency>
	    <groupId>org.neo4j</groupId>
	    <artifactId>neo4j</artifactId>
	    <version>4.1</version>
	    <scope>runtime</scope>
	</dependency>
2 REPLIES 2

Can you share your full pom

Cc @florent.biville1

What version of Spring Boot are you using?
Starting with Spring Boot 2.4, Spring Data Neo4j starter brings in Spring Data Neo4j 6, which does not rely on Neo4j OGM anymore (contrary to Spring Data Neo4j 5, brought by default until Spring Boot 2.3.x).