cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

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(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.

regards

1 REPLY 1

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...