Neo4j Documentは、我々はクラスタモード/セットアップを使用しているときをルーティングボルト+を使用することができると言います。私は問題なしでボルト接続で単一ノードを使用することができますが、クラスタモード/セットアップを使用すると、次のエラーが表示されます。クラスタモードで
のNeo4jクラスタ - ボルト+ルーティング
Caused by: org.neo4j.driver.v1.exceptions.ClientException: 'bolt+routing' is not a supported transport (in 'bolt+routing://username:[email protected]:7687', available transports are: [bolt].
私はちょうど私が
config.Neo4jConfiguration: Intercepted exception Exception in thread "main" org.neo4j.ogm.exception.CypherException: Error executing Cypher: Neo.ClientError.Cluster.NotALeader at org.neo4j.ogm.drivers.bolt.transaction.BoltTransaction.commit(BoltTransaction.java:75)
注意以下のようにNotALeaderエラーを取得していますbolt+routing://username:[email protected]:7687
使用している場合:私は自分のアプリケーション
ドライバのバージョンは何ですか? – logisima