我试图设置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失败。我觉得我一定会错过一些明显的东西。有人可以指出解决方案吗?
谢谢!