java - Neo4j not starts -
i'm trying run neo4j database java gives me following error :
java.lang.runtimeexception: error starting org.neo4j.kernel.embeddedgraphdatabase, /home/matteo/neo4j-community-2.2.2/data/graph.db @ org.neo4j.kernel.internalabstractgraphdatabase.run(internalabstractgraphdatabase.java:334) @ org.neo4j.kernel.embeddedgraphdatabase.<init>(embeddedgraphdatabase.java:59) @ org.neo4j.graphdb.factory.graphdatabasefactory.newdatabase(graphdatabasefactory.java:108) @ org.neo4j.graphdb.factory.graphdatabasefactory$1.newdatabase(graphdatabasefactory.java:95) @ org.neo4j.graphdb.factory.graphdatabasebuilder.newgraphdatabase(graphdatabasebuilder.java:176) @ org.neo4j.graphdb.factory.graphdatabasefactory.newembeddeddatabase(graphdatabasefactory.java:67) @ getter.main(getter.java:46) caused by: org.neo4j.kernel.lifecycle.lifecycleexception: component 'org.neo4j.kernel.extension.kernelextensions@2e9a2123' failed initialize. please see attached cause exception. @ org.neo4j.kernel.lifecycle.lifesupport$lifecycleinstance.init(lifesupport.java:489) @ org.neo4j.kernel.lifecycle.lifesupport.init(lifesupport.java:72) @ org.neo4j.kernel.lifecycle.lifesupport.start(lifesupport.java:106) @ org.neo4j.kernel.internalabstractgraphdatabase.run(internalabstractgraphdatabase.java:330) ... 6 more caused by: org.neo4j.kernel.lifecycle.lifecycleexception: component 'org.neo4j.index.lucene.lucenekernelextension@1c3c1d18' failed initialize. please see attached cause exception. @ org.neo4j.kernel.lifecycle.lifesupport$lifecycleinstance.init(lifesupport.java:489) @ org.neo4j.kernel.lifecycle.lifesupport.init(lifesupport.java:72) @ org.neo4j.kernel.extension.kernelextensions.init(kernelextensions.java:74) @ org.neo4j.kernel.lifecycle.lifesupport$lifecycleinstance.init(lifesupport.java:483) ... 9 more caused by: java.lang.nosuchfielderror: lucene_36 @ org.neo4j.index.impl.lucene.lucenedatasource.<clinit>(lucenedatasource.java:88) @ org.neo4j.index.lucene.lucenekernelextension.init(lucenekernelextension.java:52) @ org.neo4j.kernel.lifecycle.lifesupport$lifecycleinstance.init(lifesupport.java:483) ... 12 more
where problem?? thank much! matteo
since you're running embedded neo4j looks you're missing lucene-core-3.6.2.jar
on classpath.
best practice use build system supporting transitive dependencies gradle or maven. easy have dependency on neo4j-community
artifact, e.g. http://mvnrepository.com/artifact/org.neo4j/neo4j/2.2.5. pull in other required jars.
Comments
Post a Comment