私は作業のNeo4jユニットテストを取得しようとしています、the documentation here.のNeo4j TestGraphDatabase:java.lang.IllegalStateException:によって引き起こさファイルがまだマッピングされている間、ページキャッシュを閉じることができません:
あたりのように私は(正確にコードをコピーしました私が削除したassert文をバーに入れます)。
私はバージョン2.2.3
を使用している以外は、同じMaven依存関係を使用しています。
私がテストを実行すると、私はこのスタックトレースを取得:
2016-04-14 02:23:25.832+0000 ERROR [org.neo4j]: Lifecycle exception Failed to transition component '[email protected]' from STOPPED to SHUTTING_DOWN. Please see attached cause exception
org.neo4j.kernel.lifecycle.LifecycleException: Failed to transition component '[email protected]' from STOPPED to SHUTTING_DOWN. Please see attached cause exception
<snip>
Caused by: java.lang.IllegalStateException: Cannot close the PageCache while files are still mapped:
neostore.counts.db.a (1 mapping)
neostore (1 mapping)
neostore.relationshipgroupstore.db (1 mapping)
neostore.schemastore.db (1 mapping)
neostore.nodestore.db (1 mapping)
neostore.nodestore.db.labels (1 mapping)
neostore.relationshipstore.db (1 mapping)
neostore.propertystore.db (1 mapping)
neostore.propertystore.db.arrays (1 mapping)
neostore.propertystore.db.strings (1 mapping)
neostore.propertystore.db.index (1 mapping)
neostore.propertystore.db.index.keys (1 mapping)
neostore.labeltokenstore.db (1 mapping)
neostore.labeltokenstore.db.names (1 mapping)
neostore.relationshiptypestore.db (1 mapping)
neostore.relationshiptypestore.db.names (1 mapping)
at org.neo4j.io.pagecache.impl.muninn.MuninnPageCache.close(MuninnPageCache.java:483)
at org.neo4j.kernel.impl.pagecache.PageCacheLifecycle.shutdown(PageCacheLifecycle.java:42)
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.shutdown(LifeSupport.java:555)
... 27 more
私はバージョン2.3.3
にアップグレードしようとしたが、その後、私は別のエラーを取得:
Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component '[email protected]' failed to initialize. Please see attached cause exception.
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.init(LifeSupport.java:434)
at org.neo4j.kernel.lifecycle.LifeSupport.init(LifeSupport.java:66)
at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:102)
at org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory.newFacade(GraphDatabaseFacadeFactory.java:139)
... 30 more
Caused by: java.lang.NoClassDefFoundError: org/neo4j/kernel/logging/Logging
According to Grepcodeはなるだろう感覚、org.neo4j.kernel.logging.Logging
はバージョン2.2.3
までしか存在しません。
ここにはどのような問題がありますか? - それは依存関係の非互換性の問題ですか?