Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
05-20-2020 12:08 PM
I'm using the following
Neo4j Browser version: 4.0.5
Neo4j Server version: 4.0.2 (community)
I am starting to use the gds library. The first thing I tried was gds.graph.create
and ran into an error. I'm using the example from the documentation:
CALL gds.graph.create(
'my-native-graph',
'person',
'LIKES'
)
YIELD graphName, nodeCount, relationshipCount, createMillis;
I created two nodes (:person)
and one relationship (p1:person)-[:LIKES]->(p2:person)
When I ran the create graph procedure I get this error:
Neo.ClientError.Procedure.ProcedureCallFailed
Failed to invoke procedure `gds.graph.create`: Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.neo4j.graphalgo.config.GraphCreateFromStoreConfigImpl
I checked neo4j.log and debug.log and didn't see anything relevant there.
Solved! Go to Solution.
05-21-2020 06:04 AM
Hello @davidmakovoz,
Which version of the GDS library did you installed on Neo4j Server?
You must use: GDS 1.2.0 (https://github.com/neo4j/graph-data-science)
Regards,
Cobra
05-21-2020 06:04 AM
Hello @davidmakovoz,
Which version of the GDS library did you installed on Neo4j Server?
You must use: GDS 1.2.0 (https://github.com/neo4j/graph-data-science)
Regards,
Cobra
05-21-2020 10:01 AM
Thank you, Maxime!! It solved the problem.
05-21-2020 10:02 AM
Nice, no problem, I'm happy to hear that:)
07-13-2021 01:59 AM
How did you resolved this issue, I'm also facing same error.
I'm using GDS version - 1.5.2 and community - 4.2.5
09-06-2021 01:11 AM
#Check for appropriate version for neo4j and GDS library from that git file
# first create a node and relationship
create (:Person{name:"Oliver Stone"})-[:LIKE]->(:Person{name:"Karan Kajrolkar"})
#Then try to create native projection
CALL gds.graph.create(
'my-native-graph',
'Person',
'LIKE'
)
YIELD graphName, nodeCount, relationshipCount, createMillis;
#O/P
graphName|nodeCount|relationshipCount|createMillis|
"my-native-graph"|2 |1|51|
All the sessions of the conference are now available online