欢迎来到尧图网

客户服务 关于我们

您的位置:首页 > 汽车 > 维修 > Macos安装APOC拓展库

Macos安装APOC拓展库

2025/2/9 5:36:38 来源:https://blog.csdn.net/yang2330648064/article/details/145482373  浏览:    关键词:Macos安装APOC拓展库

文章目录

  • 说明
  • 错误提示
  • 原因分析
  • 解决方法

说明

  • Macos安装APOC核心库

错误提示

There is no procedure with the name `apoc.generate.ba` registered for this database instance. 
Please ensure you've spelled the procedure name correctly and that the procedure is properly deployed.

原因分析

  • 在 Neo4j 4.2 中,Neo4j Labs 的 APOC 库分为两部分:APOC 核心库和 APOC 扩展库,两者均由 Neo4j 社区支持。从 Neo4j 5 开始,APOC 核心库是一个受支持的项目。部分功能放在APOC拓展库。
  • 通过安装 APOC 扩展库来使用Generating Graphs。

解决方法

  • 安装APOC 扩展库的方法和APOC核心库一样
  1. 打开APOC 扩展库地址,注意选择支持Neo4j 5版本的apoc拓展库。下载到本地
    在这里插入图片描述
    在这里插入图片描述
  2. 然后将APOC拓展jar包,放到plugins目录下
    在这里插入图片描述
  3. 重启neo4j程序,即可正常使用
brew services stop neo4j   # 停止 Neo4j 服务
brew services start neo4j  # 启动 Neo4j 服务
brew services restart neo4j # 重启 Neo4j 服务

在这里插入图片描述

版权声明:

本网仅为发布的内容提供存储空间,不对发表、转载的内容提供任何形式的保证。凡本网注明“来源:XXX网络”的作品,均转载自其它媒体,著作权归作者所有,商业转载请联系作者获得授权,非商业转载请注明出处。

我们尊重并感谢每一位作者,均已注明文章来源和作者。如因作品内容、版权或其它问题,请及时与我们联系,联系邮箱:809451989@qq.com,投稿邮箱:809451989@qq.com