Skip to content

[Neo4j] In-Memory usage of APOC not working #1

@oliverbauer

Description

@oliverbauer

No a syntax error, classpath probem:

Can't get APOC to work with in-memory usage in small example (io.github.neo4j.example01.Main from neo4j directory)

When i add the following dependency and uncomment some code (annotated with TODO in comments) in the example

<dependency>
<groupId>org.neo4j.procedure</groupId>
<artifactId>apoc</artifactId>
<version>4.2.0.1</version>
</dependency>

i am missing "apoc.path.PathExplorer" on classpath. If i use

<dependency>
    <groupId>org.neo4j.procedure</groupId>
    <artifactId>apoc</artifactId>
    <version>4.1.0.6</version>
</dependency>

i get the following exception:

Caused by: java.lang.ClassNotFoundException: org.neo4j.graphdb.TransactionGuardException

If i use older dependencies

<dependency>
    <groupId>org.neo4j.procedure</groupId>
    <artifactId>apoc</artifactId>
    <version>4.1.0.6</version>
</dependency>
<dependency>
    <groupId>org.neo4j</groupId>
    <artifactId>neo4j</artifactId>
    <version>4.1.6</version>
</dependency>
<dependency>
    <groupId>org.neo4j.driver</groupId>
    <artifactId>neo4j-java-driver</artifactId>
    <version>4.1.1</version>
</dependency>

i get the following exception while executing the example:

Exception in thread "main" java.lang.RuntimeException: Error starting Neo4j database server at /tmp/neo4j-hello-db/data/databases
...
Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.neo4j.dbms.database.DefaultSystemGraphInitializer@5b852b49' was successfully initialized, but failed to start. Please see the attached cause exception "Multiple components failed to initialize the system graph:
...
Caused by: java.lang.IllegalStateException: Multiple components failed to initialize the system graph:

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomershelp wantedExtra attention is neededquestionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions