No association with setting unsupported.dbms.lucene.ephemeral

Hello everyone,

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(
	at org.neo4j.configuration.Config.set(
	at org.neo4j.dbms.api.DatabaseManagementServiceBuilder.newDatabaseManagementService(

In my pom.xml i included:


Anyone got an idea what i am missing here? I would really appreciate you help.


Update on this:

I removed maven-assembly-plugin and build and run the projekt like this now:

mvn compile
mvn exec:java -Dexec.mainClass={myPackageHere}.App

This works, but I would still prefere a jar...