neo4j调用代码CALL apoc.meta.data()报错:Neo.ClientError.Procedure.ProcedureRegistrationFailed
报错:Neo.ClientError.Procedure.ProcedureRegistrationFailed: apoc.meta.data is unavailable because it is sandboxed and has dependencies outside of the sandbox. Sandboxing is controlled by the dbms.security.procedures.unrestricted setting. Only unrestrict procedures you can trust with access to database internals.
解决方法:在Neo4j的配置文件(neo4j.conf)中设置dbms.security.procedures.unrestricted=apoc.*
或者dbms.security.procedures.unrestricted=apoc.meta.data
等参数,以允许调用APOC库的过程。
在Neo4j的配置文件(neo4j.conf)中设置dbms.directories.plugins=plugins
或者dbms.directories.plugins=插件目录的路径
,以指定插件目录的位置。