Neo4j “No dependency satisfies type class org.neo4j.kernel.api.index.SchemaIndexProvider”

后端 未结 2 501
南方客
南方客 2021-01-15 01:30

Neo4j Community 2.3.3 Linux (Ubuntu 14.04)

Trying to run a Java app which consumes a Kafka topic, process its messages while querying Neo4j, and writes them to anoth

2条回答
  •  难免孤独
    2021-01-15 01:39

    In my case (Neo4j Shell Tools 3.0.3, Gradle 2.13), adding mergeServiceFiles() was the key for resolving this issue:

    plugins { id "com.github.johnrengelman.shadow" version "1.2.3" }
    
    shadowJar {
        classifier = 'fat'
        mergeServiceFiles()
        manifest { attributes 'Main-Class': '...' }
    }
    

    There was no need to specify the exact file (META-INF/...).

提交回复
热议问题