Springboot 集成Neo4j完整版_全力奔跑,梦在彼岸-CSDN博客
pom 配置:
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-neo4j</artifactId>
</dependency>
yml配置:
spring:
neo4j:
# leader:ip1 follower:ip2 ,ip3
uri: bolt://ip1:7687
uris: bolt://ip2:7687,bolt://ip3:7687
username: neo4j
password:pro