我正在尝试设置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 jars。
这就是我所做的。然后,我将<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。
这种方法在2.5版中失败了。我觉得我肯定遗漏了一些明显的东西。有没有人能指出解决方案?
谢谢!
发布于 2014-04-25 19:37:25
看起来我没有很好地理解文档。<graph-type>应为:
com.tinkerpop.rexster.OrientGraphConfiguration你可以在这里看到这个类:
我已经更正了文档。因为这个类还在develop分支中,所以我不确定它是否已经发布。我知道Luca在跟踪StackOverflow上发生的事情,所以也许他可以提供额外的评论,说明什么时候会发布。如果不是,您可能想要向OrientDB邮件列表中写入一些内容。
https://stackoverflow.com/questions/23276508
复制相似问题