簡體   English   中英

建立neo4j GetAll服務器插件的問題

[英]Problems with building neo4j GetAll Server-Plugin

我正在嘗試構建neo4j GetAll插件。 這里開始,項目僅包含一個示例類。

當我嘗試運行curl http://localhost:7474/db/data/ext/GetAll/graphdb/get_all_nodes ,出現錯誤消息:

沒有這樣的ServerPlugin異常

我正在使用neo4j-community-2.2.1(在Windows上)和jdk1.7.0_79。

我的項目包括:

  • GetAll.javaorg.neo4j.examples.server.plugins
  • 包含以下內容的META-INF/services/org.neo4j.server.plugins.ServerPlugin文件: org.neo4j.examples.server.plugins.GetAll
  • %NEO4J_HOME%\\lib包括%NEO4J_HOME%\\lib中的所有jar。

jar文件使用jar -cvf myext.jar *構建,然后將該jar放在% NEO4J_HOME%\\plugins

我不知道為什么我不能使其正常工作。 有什么建議么?

屏幕截圖清楚地表明, GetAll.class位於目錄bin/org/neo4j/examples/server/plugins而不是org/neo4j/examples/server/plugins (擺脫bin )。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM