我正在尝试设置 Rexster(2.5 版)以使用 OrientDB(1.7 rc2)。问题是我不知道应该<graph-type>
在图形配置的字段中输入什么。最近的 Rexster 文档(https://github.com/tinkerpop/rexster/wiki/Specific-Graph-Configurations)指出,OrientDB 支持已从包中删除,因此必须复制 orientdb-client 和 orientdb-enterprise jars 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
for时效果很好<graph-type>
(根据https://code.google.com/p/orient/wiki/Rexster)。这种方法在 2.5 中失败。我觉得我一定遗漏了一些明显的东西。有人可以指出解决方案吗?
谢谢!