Error:(3, 31) java: cannot access org.neo4j.configuration.GraphDatabaseSettings

226 Views Asked by At

so i got this error trying to use neo4j embedded:

Error:(3, 31) java: cannot access org.neo4j.configuration.GraphDatabaseSettings
  bad class file: /C:/Users/stepa/.m2/repository/org/neo4j/neo4j-configuration/4.0.2/neo4j-configuration-4.0.2.jar!/org/neo4j/configuration/GraphDatabaseSettings.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.

I tried to delete the file, re import, with maven, even downgrading the version of maven dependency. Has anyone encountered this behavior? thanks for help :)

1

There are 1 best solutions below

0
stepankon On

It was the java version. By Elliott Frisch; answered in the comments..