Java创建neo4j数据库时报错
发布于 1 个月前 作者 yhexin0921 168 次浏览 来自 问答

Exception in thread “main” java.lang.RuntimeException: Error starting org.neo4j.graphdb.facade.GraphDatabaseFacadeFactory, E:\tools\neo4j-community-3.5.5\data\databases at org.neo4j.graphdb.facade.GraphDatabaseFacadeFactory.initFacade(GraphDatabaseFacadeFactory.java:229) at org.neo4j.graphdb.facade.GraphDatabaseFacadeFactory.newFacade(GraphDatabaseFacadeFactory.java:146) at org.neo4j.graphdb.factory.GraphDatabaseFactory.newDatabase(GraphDatabaseFactory.java:133) at org.neo4j.graphdb.factory.GraphDatabaseFactory.newEmbeddedDatabase(GraphDatabaseFactory.java:122) at org.neo4j.graphdb.factory.GraphDatabaseFactory$EmbeddedDatabaseCreator.newDatabase(GraphDatabaseFactory.java:178) at org.neo4j.graphdb.factory.GraphDatabaseBuilder.newGraphDatabase(GraphDatabaseBuilder.java:210) at org.neo4j.graphdb.factory.GraphDatabaseFactory.newEmbeddedDatabase(GraphDatabaseFactory.java:79) at com.rj.bd.Test.main(Test.java:17) Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component ‘org.neo4j.kernel.NeoStoreDataSource@2e3fc542’ was successfully initialized, but failed to start. Please see the attached cause exception “null”. at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:473) at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:111) at org.neo4j.kernel.impl.transaction.state.DataSourceManager.start(DataSourceManager.java:116) at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:452) at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:111) at org.neo4j.graphdb.facade.GraphDatabaseFacadeFactory.initFacade(GraphDatabaseFacadeFactory.java:224) … 7 more Caused by: java.lang.NullPointerException at com.github.benmanes.caffeine.cache.LocalCacheFactory.newBoundedLocalCache(Unknown Source) at com.github.benmanes.caffeine.cache.BoundedLocalCache$BoundedLocalManualCache.<init>(BoundedLocalCache.java:3043) at com.github.benmanes.caffeine.cache.BoundedLocalCache$BoundedLocalManualCache.<init>(BoundedLocalCache.java:3039) at com.github.benmanes.caffeine.cache.Caffeine.build(Caffeine.java:926) at org.neo4j.cypher.internal.compatibility.LFUCache.<init>(LFUCache.scala:31) at org.neo4j.cypher.internal.PreParser.<init>(PreParser.scala:54) at org.neo4j.cypher.internal.ExecutionEngine.<init>(ExecutionEngine.scala:59) at org.neo4j.cypher.internal.javacompat.ExecutionEngine.<init>(ExecutionEngine.java:76) at org.neo4j.cypher.internal.javacompat.CommunityCypherEngineProvider.standardEngine(CommunityCypherEngineProvider.java:89) at org.neo4j.cypher.internal.javacompat.CommunityCypherEngineProvider.createEngine(CommunityCypherEngineProvider.java:77) at org.neo4j.cypher.internal.javacompat.CommunityCypherEngineProvider.createEngine(CommunityCypherEngineProvider.java:69) at org.neo4j.kernel.impl.query.QueryEngineProvider.initialize(QueryEngineProvider.java:54) at org.neo4j.kernel.NeoStoreDataSource.start(NeoStoreDataSource.java:406) at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:452) … 12 more

回到顶部