However, after that, I faced the following problems while running my Java application.
When I tried to run the application, at the same time the Neo4j Community Edition server is also running, I faced the following problem:
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.
Another major error that I faced after stopping the server and running the application again, is the below one.
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?