项目场景:
Neo4j-4.3.3-community-windows
这是代码文件,启动时需要进入文件夹下的bin目录,输入neo4j start
然后转入http://localhost:7474/
,出现可供使用的图形界面。
此时如果在当前目录下输入neo4j stutas
查询状态,会显示neo4j is running
,是为正常启动。
问题描述
某一天,在给定目录下输入neo4j start
命令后,
跳出弹窗:系统找不到指定的路径。 Unable to create logger at ''
转入http://localhost:7474/
,端口拒绝了我们的请求。
在给定目录下输入neo4j status
,查询neo4j状态,显示neo4j is not running
原因分析:
可能是之前安装了新的版本
解决方案:
Neo4j can also be run as a Windows service. Install the service with , and start it with .bin\neo4j install-service
bin\neo4j start
The available commands for are: , , , , , , , and .bin\neo4jhelpstartstoprestartstatusinstall-serviceuninstall-serviceupdate-service
When installing a new release of Neo4j, you must first run on any previously installed versions.bin\neo4j uninstall-service
安装了新版本对吧,没问题。你先选好,以后自己到底用哪个版本(比如我就用我的4.3.3了)。
那就进入该版本文件夹下的bin目录,
先输入neo4j uninstall-service
再输入neo4j install-service
再neo4j start
好的,我的neo4j回来啦!