错误提示

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。

解决方法

  1. 打开APOC 扩展库地址,注意选择支持Neo4j 5版本的apoc拓展库。下载到本地
    在这里插入图片描述
    在这里插入图片描述
  2. 然后将APOC拓展jar包,放到plugins目录下
    在这里插入图片描述
  3. 重启neo4j容器,即可正常使用
    在这里插入图片描述
Logo

魔乐社区(Modelers.cn) 是一个中立、公益的人工智能社区,提供人工智能工具、模型、数据的托管、展示与应用协同服务,为人工智能开发及爱好者搭建开放的学习交流平台。社区通过理事会方式运作,由全产业链共同建设、共同运营、共同享有,推动国产AI生态繁荣发展。

更多推荐