【发布时间】:2023-09-21 06:54:01
【问题描述】:
我正在尝试设置 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> 时效果很好(根据 https://code.google.com/p/orient/wiki/Rexster)。这种方法在 2.5 中失败。我觉得我一定遗漏了一些明显的东西。有人可以指出解决方案吗?
谢谢!
【问题讨论】:
标签: orientdb tinkerpop bulbs rexster