Open kuzeko opened 3 years ago
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.
docker run -v $(pwd):/src -it --rm --entrypoint /bin/bash maven:3.6-jdk-8-alpine
cd /src
mvn package
Compiled 7a90b99134a6a51fc06a9b76fd01991adaea2dc0 succesfully!
with
docker run -v $(pwd):/src -it --rm --entrypoint /bin/bash maven:3.6.3-jdk-11
@DenisGallo It works. Tested with Neo4j 4.1.2 We can merge in master and prepare a package realease (the jar file)
The current implementation seems to not be compatible with Neo4j V4.x