Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
09-10-2020 07:21 PM
Hi there,
I want to embed Neo4j(4.1.0) in Java(jdk-11) with Maven(4.0.0) and following dependency:
<dependency>
<groupId>org.neo4j</groupId>
<artifactId>neo4j</artifactId>
<version>4.1.0</version>
</dependency>
My class:
import org.neo4j.graphdb.GraphDatabaseService;
public class Main {
public static void main (String args){
GrahpDatabaseFactory GDbFactory = new GraphDatabaseFactory();
}}
The error: package org.neo4j.graphdb.factory.GraphDatabase does not exists
my tries:
*using DatabaseManagentService (error: cannot find symbol: class DatabaseManagementServiceBuilder) [Cannot find GraphDatabaseFactory]
Any advice is welcomed.
All the sessions of the conference are now available online