没有为此数据库实例注册名称为"apoc.help"的过程 [英] There is no procedure with the name `apoc.help` registered for this database instance

查看:751
本文介绍了没有为此数据库实例注册名称为"apoc.help"的过程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经根据 github页面构建并安装了"apoc"过程(将suerver停止后,将apoc-1.0.0-SNAPSHOT.jar文件复制到了plugins目录中,然后又重新启动了服务器),但是当我尝试调用任何过程时,都收到错误消息

I've built and installed the "apoc" procedures according to the github page (The apoc-1.0.0-SNAPSHOT.jar file was copied into the plugins directory after the suerver was stopped, and then I started the server again) but when I try to call any of the procedures, I get an error message.

例如:

$ call apoc.help('search') ;

没有为此注册名称为apoc.help的过程 数据库实例.请确保您已拼写了程序名称 正确,并且该程序已正确部署."

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

我在MacO和Windows安装上都遇到了这个问题.我正在将Neo4j 3.0.0作为服务器运行(本地在端口7474上).

I have come across the issue on both MacOs and Windows installations. I'm running Neo4j 3.0.0 as a server (locally on port 7474).

我错过任何设置吗?

谢谢, 巴巴克.

推荐答案

我必须手动将此行添加到.neo4j.conf文件:

I had to manually add this line to the .neo4j.conf file:

dbms.directories.plugins=/Applications/Neo4j\ Community\ Edition.app/Contents/Resources/app/plugins

(假设您就是放置APOC jar的地方),然后重新启动服务器.

(assuming that's where you dropped the APOC jar) and then restart the server.

(这有点令人困惑,因为管理应用程序中可以配置此路径,但实际上并没有在服务器上启用插件.)

(It's a little confusing as there's an option in the management app to configure this path, but it seems not actually to enable plug-ins on the server.)

这篇关于没有为此数据库实例注册名称为"apoc.help"的过程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆