Neo4j错误:无法找到或加载主类org.neo4j.shell.StartClient [英] Neo4j Error: Could not find or load main class org.neo4j.shell.StartClient
问题描述
I am facing a similar issue on my Mac as given in Error: Could not find or load main class org.neo4j.shell.StartClient.
我最初使用.dmg安装程序安装了Neo4j,它可以在浏览器中打开Neo4j社区版.但是,当我单击选项">命令提示符"时,它将打开一个终端"窗口:
I initially installed Neo4j using .dmg installer, and it can open Neo4j community edition in browser. But when I click on the Options>Command Prompt, it opens a Terminal window:
xyz$ /Applications/Neo4j \Community\Edition.app/Contents/Resources/app/bin/openNeoTerminal.sh ; exit;
Neo4j Command Prompt
This window is configured with Neo4j on the path.
Available commands:
neo4j-shell
neo4j-import
bash-3.2$ neo4j-shell
Error: Could not find or load main class org.neo4j.shell.StartClient
bash-3.2$
我还下载了最新的neo4j-2.2.7.tar.gz,解压缩后,在我的主目录下创建了一个名为neo4j的文件夹.我不确定进一步需要什么.
I also downloaded the latest neo4j-2.2.7.tar.gz, unzipped it, created a folder called neo4j under my main directory. I am not sure what is needed further.
任何帮助将不胜感激.
推荐答案
不幸的是,这是Neo4j 2.3.x中包装的错误.
Unfortunately this is a bug with the packaging, in Neo4j 2.3.x.
请使用tgz发行版,在提取的文件夹中找到bin/neo4j-import
.
Please use the tgz distribution, in the extracted folder you find bin/neo4j-import
.
有关使用方法,请参阅Neo4j-手册:
Please refer to the Neo4j - manual, on how to use it:
http://neo4j.com/docs/stable/import-tool.html
这篇关于Neo4j错误:无法找到或加载主类org.neo4j.shell.StartClient的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!