If you use Java Spring Boot you do not need to specifically call on the Neo4j java driver as it is part of the default dependencies.
In some cases, you may want to benefit specifically from the latest fix or need a new feature and the need to override the driver version becomes necessary.
Below here we have listed instructions on how to proceed with the most common build systems.
Example with the Java driver 4.4.1 (replace accordingly with your version)
- Using Maven :
Include in your pom.xml the extra property
<properties> <neo4j-java-driver.version>4.4.1</neo4j-java-driver.version> </properties>
- Using Gradle :
Add a gradle.properties to your build overwriting the property in question
neo4j-java-driver.version = 4.4.1