Springboot整合Neo4J图数据库

1.引入依赖

JDK11,

neo4J4.4.23

xml 复制代码
<parent>
	<groupId>org.springframework.boot</groupId>
	<artifactId>spring-boot-starter-parent</artifactId>
	<version>2.7.15</version>
	<relativePath/> <!-- lookup parent from repository -->
</parent>
<dependency>
   <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-starter-data-neo4j</artifactId>
</dependency>

2.解决springboot与neo4j兼容问题

xml 复制代码
<dependency>
   <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-starter-data-neo4j</artifactId>
    <exclusions>
        <exclusion>
            <artifactId>neo4j-java-driver</artifactId>
            <groupId>org.neo4j.driver</groupId>
        </exclusion>
    </exclusions>
</dependency>
<dependency>
    <groupId>org.neo4j.driver</groupId>
    <artifactId>neo4j-java-driver</artifactId>
    <version>4.4.5</version>
</dependency>
相关推荐
xixixi7777721 小时前
互联网和数据分析中的核心指标 DAU (日活跃用户数)
大数据·网络·数据库·数据·dau·mau·留存率
范纹杉想快点毕业1 天前
状态机设计与嵌入式系统开发完整指南从面向过程到面向对象,从理论到实践的全面解析
linux·服务器·数据库·c++·算法·mongodb·mfc
这周也會开心1 天前
Redis与MySQL回写中的数据类型存储设计
数据库·redis·mysql
计算机学姐1 天前
基于SpringBoot的民宿预定管理系统【三角色+个性化推荐算法+数据可视化统计】
java·vue.js·spring boot·mysql·信息可视化·intellij-idea·推荐算法
Aaron_Wjf1 天前
PG Vector测试
数据库·postgresql
Aaron_Wjf1 天前
PG逻辑复制槽应用
数据库·postgresql
一碗面4211 天前
SQL性能优化:让数据库飞起来
数据库·sql·性能优化
June bug1 天前
【高频SQL基础版】排序和分组
数据库·sql
珠海西格1 天前
光伏电站全景感知体系:数据采集与设备状态监测技术
大数据·运维·服务器·数据库·人工智能
计算机程序设计小李同学1 天前
基于 Spring Boot + Vue 的龙虾专营店管理系统的设计与实现
java·spring boot·后端·spring·vue