Terminal 从命令行启动Neo4j 2.3.2

Terminal 从命令行启动Neo4j 2.3.2,terminal,neo4j,Terminal,Neo4j,我已经在Mac OS 10.10上安装了Neo4j 2.3.2社区版。我可以启动应用程序并从localhost:7474/browser/连接到它。到目前为止,一切顺利 我想从终端窗口启动Neo4j 2.3.2,这样我就不会同时运行窗口应用程序的开销。当我运行以下命令时 $ ~/neo4j/bin/neo4j console 。。。我在终端窗口中获得以下输出: WARNING: Max 256 open files allowed, minimum of 40 000 recommended.

我已经在Mac OS 10.10上安装了Neo4j 2.3.2社区版。我可以启动应用程序并从localhost:7474/browser/连接到它。到目前为止,一切顺利

我想从终端窗口启动Neo4j 2.3.2,这样我就不会同时运行窗口应用程序的开销。当我运行以下命令时

$ ~/neo4j/bin/neo4j console
。。。我在终端窗口中获得以下输出:

WARNING: Max 256 open files allowed, minimum of 40 000 recommended. See the Neo4j manual.
Starting Neo4j Server console-mode...
Unable to find any JVMs matching version "1.7".
Using additional JVM arguments:  -server -XX:+DisableExplicitGC -Dorg.neo4j.server.properties=conf/neo4j-server.properties -Djava.util.logging.config.file=conf/logging.properties -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled -XX:-OmitStackTraceInFastThrow -XX:hashCode=5 -Dneo4j.ext.udc.source=tarball
2016-02-25 14:03:18.755+0000 INFO  [API] Setting startup timeout to: 120000ms based on 120000
2016-02-25 14:03:58.356+0000 INFO  [API] Successfully started database
2016-02-25 14:04:04.220+0000 INFO  [API] Starting HTTP on port :7474 with 2 threads available
2016-02-25 14:04:13.512+0000 INFO  [API] Enabling HTTPS on port :7473
09:04:20.201 [main] INFO  org.eclipse.jetty.util.log - Logging initialized @98517ms
2016-02-25 14:04:23.034+0000 INFO  [API] Mounting static content at [/webadmin] from [webadmin-html]
2016-02-25 14:04:25.785+0000 INFO  [API] Mounting static content at [/browser] from [browser]
09:04:25.993 [main] INFO  org.eclipse.jetty.server.Server - jetty-9.2.4.v20141103
09:04:26.722 [main] INFO  o.e.j.server.handler.ContextHandler - Started o.e.j.s.h.MovedContextHandler@1611ba2{/,null,AVAILABLE}
09:04:27.794 [main] INFO  o.e.j.w.StandardDescriptorProcessor - NO JSP Support for /webadmin, did not find org.apache.jasper.servlet.JspServlet
09:04:27.981 [main] INFO  o.e.j.server.handler.ContextHandler - Started o.e.j.w.WebAppContext@132ea25{/webadmin,jar:file:/Users/james/neo4j/system/lib/neo4j-server-2.2.5-static-web.jar!/webadmin-html,AVAILABLE}
09:04:38.841 [main] INFO  o.e.j.server.handler.ContextHandler - Started o.e.j.s.ServletContextHandler@60bfaa02{/db/manage,null,AVAILABLE}
09:04:39.326 [main] INFO  o.e.j.server.handler.ContextHandler - Started o.e.j.s.ServletContextHandler@28e2e149{/db/data,null,AVAILABLE}
09:04:39.353 [main] INFO  o.e.j.w.StandardDescriptorProcessor - NO JSP Support for /browser, did not find org.apache.jasper.servlet.JspServlet
09:04:39.355 [main] INFO  o.e.j.server.handler.ContextHandler - Started o.e.j.w.WebAppContext@78e6aa71{/browser,jar:file:/Users/james/neo4j/system/lib/neo4j-browser-2.2.5.jar!/browser,AVAILABLE}
09:04:39.536 [main] INFO  o.e.j.server.handler.ContextHandler - Started o.e.j.s.ServletContextHandler@4994d9ab{/,null,AVAILABLE}
09:04:39.745 [main] INFO  o.e.jetty.server.ServerConnector - Started ServerConnector@2d19cf20{HTTP/1.1}{localhost:7474}
09:04:40.576 [main] INFO  o.e.jetty.server.ServerConnector - Started ServerConnector@43c742c{SSL-HTTP/1.1}{localhost:7473}
09:04:40.577 [main] INFO  org.eclipse.jetty.server.Server - Started @119058ms
2016-02-25 14:04:40.577+0000 INFO  [API] Server started on: http://localhost:7474/
2016-02-25 14:04:40.590+0000 INFO  [API] Remote interface ready and available at [http://localhost:7474/]
我安装了Java版本8,更新版本74(build 1.8.0_74-b02),因此我假设我可以忽略警告
找不到任何与版本“1.7”匹配的JVM。

然而,当我在Chrome版本45.0.2454.85(64位)中访问时,我在开发者控制台中看到三个错误:两个无法加载的文件和随后的脚本错误

localhost/:28 GET http://localhost:7474/browser/styles/68eddd94.main.css 
localhost/:466 GET http://localhost:7474/browser/scripts/ded362b3.scripts.js
Uncaught Error: [$injector:modulerr] Failed to instantiate module neo4jApp due to:
Error: [$injector:nomod] Module 'neo4jApp' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.
因此,Neo4j界面不会出现在浏览器窗口中


是否可以从终端运行Neo4j 2.3.2,如果可以,我需要做什么才能获得
http://localhost:7474/
要正确加载?

切换重新加载,或在匿名窗口中进行测试


由于浏览器高速缓存,JS文件似乎不匹配。

$~/neo4j/bin/neo4j start不起作用?不,它会给出相同的结果,但在终端窗口中没有所有有用的输出。