我试图设置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。
这就是我所做的。然后,我按如下方式设置<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>
我在Rexster启动时得到java.lang.ClassNotFoundException: com.tinkerpop.blueprints.impls.orient.OrientGraphRexsterConfiguration
。
我还尝试设置Rexster 2.1,在orientgraph
<graph-type>
使用{{1}}时效果很好(根据https://code.google.com/p/orient/wiki/Rexster)。 2.5的这种方法失败了。我觉得我必须遗漏一些明显的东西。有人可以指出解决方案吗?
谢谢!
答案 0 :(得分:4)
看起来我没有完全正确地获得文档。 <graph-type>
应为:
com.tinkerpop.rexster.OrientGraphConfiguration
你可以在这里看到这个课程:
我已经更正了文档。由于班级仍然在develop
分支,我不确定它是否已经发布。我知道Luca会跟踪StackOverflow中发生的事情,所以也许他可以提供关于何时发布的额外评论。如果没有,您可能想要写一些东西到OrientDB邮件列表。