我試圖設置Rexster(版本2.5)與OrientDB(1.7 rc2)一起使用。問題是我不知道我應該在圖形配置中的<graph-type>
字段中放置什麼。最新的Rexster文檔(https://github.com/tinkerpop/rexster/wiki/Specific-Graph-Configurations)聲明OrientDB支持已從軟件包中刪除,因此必須從OrientDB分發版中複製orientdb-client和orientdb-enterprise jar。Rexter OrientDB配置
這就是我所做的。然後,我設置了<graph>
部分如下:
<graph>
<graph-enabled>true</graph-enabled>
<graph-name>test</graph-name>
<graph-type>com.tinkerpop.blueprints.impls.orient.OrientGraphRexsterConfiguration</graph-type>
<graph-location>local:orientdb/databases/test</graph-location>
<extensions>
<allows>
<allow>tp:gremlin</allow>
</allows>
</extensions>
</graph>
我得到java.lang.ClassNotFoundException: com.tinkerpop.blueprints.impls.orient.OrientGraphRexsterConfiguration
在Rexster啓動。
我也試過設置Rexster 2.1,當orientgraph
用於<graph-type>
(根據https://code.google.com/p/orient/wiki/Rexster)時,它工作得很好。這種方法2.5失敗。我覺得我一定會錯過一些明顯的東西。有人可以指出解決方案嗎?
謝謝!