i am trying to build a java application with an embedded neo4j database. I followed the official guide very closely and made nearly no changes to it. In my IntelliJ IDE everything works fine, but when i create an executable jar with maven and try to run it, i get the following exception:
Exception in thread "main" java.lang.IllegalArgumentException: Config has no association with setting: 'unsupported.dbms.lucene.ephemeral' at org.neo4j.configuration.Config.getObserver(Config.java:635) at org.neo4j.configuration.Config.set(Config.java:653) at org.neo4j.dbms.api.DatabaseManagementServiceBuilder.newDatabaseManagementService(DatabaseManagementServiceBuilder.java:83) at org.neo4j.dbms.api.DatabaseManagementServiceBuilder.build(DatabaseManagementServiceBuilder.java:78)
In my pom.xml i included:
<dependency> <groupId>org.neo4j</groupId> <artifactId>neo4j</artifactId> <version>4.0.0</version> </dependency>
Anyone got an idea what i am missing here? I would really appreciate you help.