首页 > 解决方案 > 错误:(3, 31) java: 无法访问 org.neo4j.configuration.GraphDatabaseSettings

问题描述

所以我在尝试使用嵌入的 neo4j 时遇到了这个错误:

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.

我试图用maven删除文件,重新导入,甚至降级maven依赖的版本。有没有人遇到过这种行为?感谢帮助 :)

标签: javamavenneo4jneo4j-embedded

解决方案


这是java版本。埃利奥特弗里施;评论里回答了。。


推荐阅读