首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Rexster配置

Rexster配置
EN

Stack Overflow用户
提问于 2014-04-25 02:04:58
回答 1查看 481关注 0票数 2

我正在尝试设置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>部分设置如下:

代码语言:javascript
复制
<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版中失败了。我觉得我肯定遗漏了一些明显的东西。有没有人能指出解决方案?

谢谢!

EN

回答 1

Stack Overflow用户

发布于 2014-04-25 19:37:25

看起来我没有很好地理解文档。<graph-type>应为:

代码语言:javascript
复制
com.tinkerpop.rexster.OrientGraphConfiguration

你可以在这里看到这个类:

https://github.com/orientechnologies/orientdb/blob/develop/graphdb/src/main/java/com/tinkerpop/rexster/OrientGraphConfiguration.java

我已经更正了文档。因为这个类还在develop分支中,所以我不确定它是否已经发布。我知道Luca在跟踪StackOverflow上发生的事情,所以也许他可以提供额外的评论,说明什么时候会发布。如果不是,您可能想要向OrientDB邮件列表中写入一些内容。

票数 4
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/23276508

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档