1

我已经使用 Neo4j jars 在 java 中创建了节点和关系,我试图从 Neoclipse 中显示相同的内容,当尝试创建从 Neoclipse 到 java 程序创建的文件夹的连接时出现异常(我使用的是 windows 7)。例外:

java.lang.IllegalStateException:Mismatching store version found(v0.A.1 while expecting v0.A.0) 
and the store is not cleanly shutdown.
Recover the database with previous database version and then attempt to upgrade .

在此之后我添加了graphDb.shutdown();代码然后我得到了不同的异常:

org.neo4j.kernel.impl.storemigration.StoreUpgrader$UnableToUpgradeException:
Not all store Files match the version required for successful upgrade.

jar 文件列表:

geronimo-jta_1.1_spec-1.1.1.jar lucene-core-3.6.2.jar neo4j-2.0.1.jar neo4j-cypher-2.0.1.jar neo4j-graph-algo-2.0.1.jar neo4j-graph -matching-2.0.1.jar neo4j-jmx-2.0.1.jar neo4j-kernel-2.0.1.jar neo4j-lucene-index-2.0.1.jar neo4j-udc-2.0.1.jar

请指导我。

4

1 回答 1

2

看起来您已经使用 Neo4j 2.0.1 创建了数据存储。Neoclipse 似乎使用的是早期版本。不支持数据存储降级。

但是,您可以将数据库放入 Neo4j 2.0.1 服务器并使用 Neoclipse 远程连接到它。

于 2014-04-14T07:44:07.470 回答