Neo4j Cypher,不能使用 apoc:没有名为"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.

这个错误消息还有另一个答案,但解决方案在我的情况下不起作用。

以下是我认为可能与Ubuntu 20.04相关的细节。

sfarnsworth@ubuntu:~$ neo4j --version
neo4j 4.1.12
sfarnsworth@ubuntu:~$ ls /var/lib/neo4j/plugins/
README.txt  apoc-4.1.0.11-core.jar
sfarnsworth@ubuntu:~$ sudo neo4j restart
sfarnsworth@ubuntu:~$ cat /etc/neo4j/neo4j.conf | grep apoc
dbms.security.procedures.unrestricted=my.extensions.example,my.procedures.*,apoc.*
dbms.security.procedures.whitelist=apoc.coll.*,apoc.load.*
sfarnsworth@ubuntu:~$ cypher-shell
neo4j@neo4j> call 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

我尝试的任何apoc调用都会发生这种情况。

在我看来,您不允许在白名单定义中使用apoc.help()。尝试修改白名单配置:

dbms.security.procedures.whitelist=apoc.coll.*,apoc.load.*,apoc.help

最新更新