Using Neo4j Community Edition 3.1.0 for Windows 64 bit, selecting the data directory of my embedded database, and navigating to the web view, I am able to view the data successfully.
However, after that, I faced the following problems while running my Java application.
org.neo4j.kernel.StoreLockException: Store and its lock file has been locked by another process: target\test_data_dir\store_lock. Please ensure no other process is using this database, and that the directory is writable (required even for read-only access)
This error seems to be quite self explanatory, which might be resolved by stopping the server. My question is, is there any tool/configuration, which let me do both at the same time; i.e. run the application, and view the data in server.
org.neo4j.kernel.impl.storemigration.StoreUpgrader$UnexpectedUpgradingStoreVersionException: 'G:\Workspace\Java\Neo4jTest\target\test_data_dir\neostore.nodestore.db' has a store version number that we cannot upgrade from. Expected 'v0.A.3' but file is version '
If I delete the database and start application (from scratch) again, then everything is okay till I start the server. How this can be resolved?
My Maven dependencies:
P.S. I have also posted this question in StackOverflow, but without any luck so far.