cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

Can't install GDS on Neo4j community

Hi
I'm new to neo4j and have been playing around with the community version for a while. Creating queries, adding visualizing data and importing from csv works fine.

When I try to add Graph Data Science library according to the guide, however, I get an error and the server does not start.

I downloaded the jar file from here https://neo4j.com/download-center/#algorithms, put it in the plugin folder, added the two lines
dbms.security.procedures.unrestricted=gds.*
dbms.security.procedures.allowlist=gds.*
in /conf/neo4j.conf
and started the folder.

I got the following error messages:
2021-07-06 23:22:37.530+0000 WARN [o.n.k.a.p.GlobalProcedures] Failed to load org.neo4j.graphalgo.compat.CompositeNodeCursor40 from plugin jar /C:/neo4j-community-4.2.7-windows/neo4j-community-4.2.7/plugins/neo4j-graph-data-science-1.6.1.jar: class org.neo4j.graphalgo.compat.CompositeNodeCursor40 overrides final method org.neo4j.internal.kernel.api.DefaultCloseListenable.close()V
2021-07-06 23:22:37.530+0000 WARN [o.n.k.a.p.GlobalProcedures] Failed to load org.neo4j.graphalgo.compat.CompatGraphDatabaseAPI40 from plugin jar /C:/neo4j-community-4.2.7-windows/neo4j-community-4.2.7/plugins/neo4j-graph-data-science-1.6.1.jar: org/neo4j/kernel/impl/factory/DatabaseInfo
2021-07-06 23:22:37.534+0000 WARN [o.n.k.a.p.GlobalProcedures] Failed to load org.neo4j.graphalgo.compat.Neo4jProxy40 from plugin jar /C:/neo4j-community-4.2.7-windows/neo4j-community-4.2.7/plugins/neo4j-graph-data-science-1.6.1.jar: class org.neo4j.graphalgo.compat.CompositeNodeCursor40 overrides final method org.neo4j.internal.kernel.api.DefaultCloseListenable.close()V
2021-07-06 23:22:37.538+0000 WARN [o.n.k.a.p.GlobalProcedures] Failed to load org.neo4j.graphalgo.compat.Neo4jProxy41 from plugin jar /C:/neo4j-community-4.2.7-windows/neo4j-community-4.2.7/plugins/neo4j-graph-data-science-1.6.1.jar: class org.neo4j.graphalgo.compat.CompositeNodeCursor41 overrides final method org.neo4j.internal.kernel.api.DefaultCloseListenable.close()V
2021-07-06 23:22:37.542+0000 WARN [o.n.k.a.p.GlobalProcedures] Failed to load org.neo4j.graphalgo.compat.CompositeNodeCursor41 from plugin jar /C:/neo4j-community-4.2.7-windows/neo4j-community-4.2.7/plugins/neo4j-graph-data-science-1.6.1.jar: class org.neo4j.graphalgo.compat.CompositeNodeCursor41 overrides final method org.neo4j.internal.kernel.api.DefaultCloseListenable.close()V
2021-07-06 23:22:37.558+0000 WARN [o.n.k.a.p.GlobalProcedures] Failed to load org.neo4j.graphalgo.compat.Neo4jProxy43$1 from plugin jar /C:/neo4j-community-4.2.7-windows/neo4j-community-4.2.7/plugins/neo4j-graph-data-science-1.6.1.jar: org/neo4j/internal/batchimport/IndexConfig
2021-07-06 23:22:37.566+0000 WARN [o.n.k.a.p.GlobalProcedures] Failed to load org.neo4j.graphalgo.compat.CompatAccessMode43 from plugin jar /C:/neo4j-community-4.2.7-windows/neo4j-community-4.2.7/plugins/neo4j-graph-data-science-1.6.1.jar: org/neo4j/internal/kernel/api/RelTypeSupplier
2021-07-06 23:22:37.566+0000 WARN [o.n.k.a.p.GlobalProcedures] Failed to load org.neo4j.graphalgo.compat.Neo4jProxy43 from plugin jar /C:/neo4j-community-4.2.7-windows/neo4j-community-4.2.7/plugins/neo4j-graph-data-science-1.6.1.jar: org/neo4j/internal/batchimport/IndexImporterFactory
2021-07-06 23:22:47.250+0000 WARN [o.n.k.a.p.GlobalProcedures] Failed to load org.neo4j.gds.shaded.com.fasterxml.jackson.databind.ext.DOMDeserializer$DocumentDeserializer from plugin jar /C:/neo4j-community-4.2.7-windows/neo4j-community-4.2.7/plugins/neo4j-graph-data-science-1.6.1.jar: org/neo4j/gds/shaded/org/w3c/dom/Document
2021-07-06 23:22:47.254+0000 WARN [o.n.k.a.p.GlobalProcedures] Failed to load org.neo4j.gds.shaded.com.fasterxml.jackson.databind.ext.DOMDeserializer$NodeDeserializer from plugin jar /C:/neo4j-community-4.2.7-windows/neo4j-community-4.2.7/plugins/neo4j-graph-data-science-1.6.1.jar: org/neo4j/gds/shaded/org/w3c/dom/Node
2021-07-06 23:22:47.254+0000 WARN [o.n.k.a.p.GlobalProcedures] Failed to load org.neo4j.gds.shaded.com.fasterxml.jackson.databind.ext.DOMDeserializer from plugin jar /C:/neo4j-community-4.2.7-windows/neo4j-community-4.2.7/plugins/neo4j-graph-data-science-1.6.1.jar: org/neo4j/gds/shaded/org/w3c/dom/Document
2021-07-06 23:22:47.254+0000 WARN [o.n.k.a.p.GlobalProcedures] Failed to load org.neo4j.gds.shaded.com.fasterxml.jackson.databind.ext.DOMSerializer from plugin jar /C:/neo4j-community-4.2.7-windows/neo4j-community-4.2.7/plugins/neo4j-graph-data-science-1.6.1.jar: org/neo4j/gds/shaded/org/w3c/dom/Node

neo4j version: neo4j-community-4.2.7-windows
Graph Data Science version: neo4j-graph-data-science-1.6.1

Is GDS not availible for community, or did I miss anything during the installation?
Thank you for any help.

2 REPLIES 2

I've not setup neo4j on windows like you are doing (normally I run neo4j inside docker on ubuntu, or for quick simple work maybe the neo4j client), but have a couple of questions

  • I had a visceral negative gut reaction to the leading slash in the path shown /C:/neo4j-.... Are you configuring the plugin names somewhere, and is that the correct format? It doesn't look right at a glance. Maybe neo4j likes that format, but I can't recall ever seeing a windows path that way. I have seen both /c/path and c:\path though.
  • if you remove GDS do the other plug-ins load OK? Compare the config/paths between them, anything curiously different?

can you share the rest of the config file and how you are starting/running neo4j?

I didn't configure the path anywhere explicitly, but just added the plugin in the plugins folder as described in the instructions. The extra forward slash at the beginning seems to be something the debug logs adds by itself. The whole pathname is enclosed in backticks as well, but it seems the forum here formats them and makes the text yellow instead.
I never tried with any other plugins. Will try looking up another one and add them.