Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
oliverbauer opened this issue Feb 7, 2021 · 0 comments
Open

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

oliverbauer opened this issue Feb 7, 2021 · 0 comments
Labels
bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed question Further information is requested

Comments

@oliverbauer
Copy link
Owner

oliverbauer commented Feb 7, 2021

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:
@oliverbauer oliverbauer added bug Something isn't working help wanted Extra attention is needed good first issue Good for newcomers question Further information is requested labels Feb 7, 2021
@oliverbauer oliverbauer changed the title [Neo4j] In-Memory usage of APIC [Neo4j] In-Memory usage of APOC not working Feb 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant