我在我的应用程序中使用Java neo4j嵌入式版本。
当我使用db.execute(CypherQuery)
执行
CALL apoc.algo.dijkstra(m, n, 'IS_CONNECTED', 'cost') YIELD path, weight RETURN path, weight ORDER BY weight limit 1
比我发现的
Caused by: org.neo4j.internal.kernel.api.exceptions.ProcedureException: There is no procedure with the name `apoc.algo.dijkstra` registered for this database instance. Please ensure you've spelled the procedure name correctly and that the procedure is properly deployed.
at org.neo4j.kernel.impl.proc.ProcedureRegistry.noSuchProcedure(ProcedureRegistry.java:276)
所以我想知道如何为嵌入式neo4j注册apoc jar。