Skip to content
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

Upgrade to Neo4j v4.X #4

Open
kuzeko opened this issue Dec 10, 2020 · 3 comments
Open

Upgrade to Neo4j v4.X #4

kuzeko opened this issue Dec 10, 2020 · 3 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@kuzeko
Copy link
Collaborator

kuzeko commented Dec 10, 2020

The current implementation seems to not be compatible with Neo4j V4.x

@kuzeko kuzeko added enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers labels Dec 10, 2020
@kuzeko
Copy link
Collaborator Author

kuzeko commented Jan 23, 2021

Compile error:

[ERROR] /src/src/main/java/pfiltering/WeightingGraphProcBatched.java:[11,25] cannot access org.neo4j.logging.Log
  bad class file: /root/.m2/repository/org/neo4j/neo4j-logging/4.2.0/neo4j-logging-4.2.0.jar(org/neo4j/logging/Log.class)
    class file has wrong version 55.0, should be 52.0
    Please remove or make sure it appears in the correct subdirectory of the classpath.
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  01:21 min
[INFO] Finished at: 2021-01-23T11:27:13Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project particlefiltering: Compilation failure
[ERROR] /src/src/main/java/pfiltering/WeightingGraphProcBatched.java:[11,25] cannot access org.neo4j.logging.Log
[ERROR]   bad class file: /root/.m2/repository/org/neo4j/neo4j-logging/4.2.0/neo4j-logging-4.2.0.jar(org/neo4j/logging/Log.class)
[ERROR]     class file has wrong version 55.0, should be 52.0
[ERROR]     Please remove or make sure it appears in the correct subdirectory of the classpath.

Steps to reproduce:

docker run -v $(pwd):/src  -it --rm --entrypoint /bin/bash maven:3.6-jdk-8-alpine
cd /src
mvn package

@kuzeko
Copy link
Collaborator Author

kuzeko commented Feb 4, 2021

Compiled 7a90b99 succesfully!

with

docker run -v $(pwd):/src  -it --rm --entrypoint /bin/bash maven:3.6.3-jdk-11

@kuzeko
Copy link
Collaborator Author

kuzeko commented Apr 7, 2021

@DenisGallo It works.
Tested with Neo4j 4.1.2
We can merge in master and prepare a package realease (the jar file)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants