Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
02-05-2020 04:32 PM
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
02-13-2020 01:23 AM
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...
All the sessions of the conference are now available online