【问题标题】:HelloWorld managed extension example not working on Neo4j 3HelloWorld 托管扩展示例不适用于 Neo4j 3
【发布时间】:2016-06-03 08:49:07
【问题描述】:

我已经完全按照这里的描述实现了 HelloWorld 示例扩展

http://neo4j.com/docs/java-reference/current/#server-extending

我在我的 Mac 上使用 Neo4j 3.0.2。

我还尝试在 neo4j 存储库中编译示例并复制它。

当我尝试启动服务器时,我看到以下消息:

启动 Neo4j 失败:多个异常

调试日志文件没有显示异常。

我在这里上传了带有 log.txt 文件和 .neo4j.conf 文件的项目https://github.com/whatsthebeef/neo4j-test

为什么它不起作用,还有其他地方可以查看这些异常吗?

【问题讨论】:

  • 可以分享日志文件吗?
  • @MichaelHunger 我已将日志文件提交到 githhub 存储库,因为它很大。在这里github.com/whatsthebeef/neo4j-test/blob/master/log.txt
  • @MichaelHunger 我又重新安装了一次,但仍然无法启动,但我现在看到了这个错误 - Starting Neo4j failed: org.neo4j.server.web.NeoServletContainer-38a5b44d@3be393af==org.neo4j.server.web.NeoServletContainer,-1,false

标签: java neo4j


【解决方案1】:

为我工作,我刚刚使用了你的回购,

  • 构建它,
  • 将jar复制到NEO4J_HOME/plugins
  • 以与您相同的方式编辑配置
  • 重启 Neo4j

结果:

curl http://localhost:7474/examples/unmanaged/helloworld/1

Hello World, nodeId=1

【讨论】:

  • 你的 Neo4J 家是什么?
【解决方案2】:

问题似乎是,虽然我的 neo4j 插件文件夹被配置在一个位置,但实际上我不得不将插件放在安装 .app 文件内的插件目录中。

【讨论】:

  • 我遇到了同样的情况,请您详细说明您是如何解决的。谢谢
  • 如果您坚持使用桌面版本而不是服务器版本,那么一种方法(也许不是最好的)是将所有插件和依赖项 cp 到应用程序文件中的插件文件夹。在我的系统中,它位于 /Applications/Neo4j\ Community\ Edition.app/Contents/Resources/app/plugins/
猜你喜欢
  • 2016-10-08
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2015-11-06
  • 2015-08-31
  • 1970-01-01
  • 1970-01-01
  • 2015-04-05
相关资源
最近更新 更多