导致:org.neo4j.kernel.lifecycle.LifecycleException:组件“xxxx”初始化成功,但启动失败
我昨天在Windows 10上安装了Neo4j社区版,但是当我使用Spring操作新的Neo4j数据库时,一切正常。但是当我通过浏览器打开数据库,稍后再通过Spring打开时,数据库无法启动。错误信息是这样的
Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.neo4j.kernel.NeoStoreDataSource@79fcd194' 已成功初始化,但无法启动。请参阅随附的原因异常“Neo4j 无法启动,因为数据库文件需要升级并且配置中禁用了升级。请在配置文件中将 'dbms.allow_upgrade' 设置为 'true',然后重试。”。
但是,我已将 dbms.allow_upgrade 设置为 true,但没有任何功能。
I installed Neo4j community version yesterday on Windows 10, but when I use Spring to manipulate a new Neo4j database, everything is ok .But when I open the database by browser, and open by Spring later, the database faild to start. the error info is like this
Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.neo4j.kernel.NeoStoreDataSource@79fcd194' was successfully initialized, but failed to start. Please see the attached cause exception "Neo4j cannot be started because the database files require upgrading and upgrades are disabled in the configuration. Please set 'dbms.allow_upgrade' to 'true' in your configuration file and try again.".
however, I had set the dbms.allow_upgrade to true, but did no function.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论