无法配置独立的Gremlin服务器以与JanusGraph一起使用

问题描述 投票:1回答:1

我按照说明配置了一个独立的gremlin,使用文档:http://docs.janusgraph.org/latest/server.html来使用Janusgraph。我无法使用文档中提到的命令下载jar。

bin/gremlin-server.sh -i org.janusgraph janusgraph-all $VERSION

它失败并显示以下错误消息:

无法安装依赖项:错误抓取Grapes - [未解析的依赖项:com.sleepycat#je; 7.3.7:未找到] java.lang.RuntimeException:错误抓取Grapes - [未解析的依赖项:com.sleepycat#je; 7.3 .7:未找到] org.codehaus.groovy.vmplugin.v7.IndyInterface.selectMethod(IndyInterface.java:232)at groovy.grape.GrapeIvy.getDependencies(GrapeIvy.groovy:424)at org.codehaus.groovy.vmplugin .v7.IndyInterface.selectMethod(IndyInterface.java:232)at groovy.grape.GrapeIvy.resolve(GrapeIvy.groovy:571)at org.codehaus.groovy.vmplugin.v7.IndyInterface.selectMethod(IndyInterface.java:232)at at groovy.grape.GrapeIvy.resolve(GrapeIvy.groovy:534)at groovy.grape.Grape.resolve(Grape.java:202)at org.codehaus.groovy.vmplugin.v7.IndyInterface.selectMethod(IndyInterface.java:232) org.apache.tinkerpop.gremlin.groovy.util.DependencyGrabber.copyDependenciesToPath(DependencyGrabber.groovy:124)org.ap上的org.codehaus.groovy.vmplugin.v7.IndyInterface.selectMethod(IndyInterface.java:232) org.apache.tinkerpop.gremlin.server.util.GremlinServerInstall.main中的ache.tinkerpop.gremlin.groovy.util.DependencyGrabber.copyDependenciesToPath(DependencyGrabber.groovy:77)(GremlinServerInstall.java:38)

另外,我还按照说明设置了grapeConfig.xml。以下是它的外观:

    <ivysettings>
  <settings defaultResolver="downloadGrapes"/>
  <resolvers>
    <chain name="downloadGrapes">
      <filesystem name="cachedGrapes">
        <ivy pattern="${user.home}/.groovy/grapes/[organisation]/[module]/ivy-[revision].xml"/>
        <artifact pattern="${user.home}/.groovy/grapes/[organisation]/[module]/[type]s/[artifact]-[revision].[ext]"/>
      </filesystem>
      <ibiblio name="local" root="file:${user.home}/.m2/repository/" m2compatible="true"/>
      <ibiblio name="codehaus" root="http://repository.codehaus.org/" m2compatible="true"/>
      <ibiblio name="central" root="http://central.maven.org/maven2/" m2compatible="true"/>
      <ibiblio name="jitpack" root="https://jitpack.io" m2compatible="true"/>
      <ibiblio name="java.net2" root="http://download.java.net/maven/2/" m2compatible="true"/>
    </chain>
  </resolvers>
</ivysettings>

我使用的是janusgraph版本0.2.0。

知道我在这里缺少什么吗?

graph-databases janusgraph gremlin-server
1个回答
0
投票

通常,不需要将JanusGraph安装到单独的Gremlin服务器中。 JanusGraph发行版已在适当的Apache TinkerPop版本中包含一个Gremlin服务器,可供使用(JanusGraph 0.2.0使用Apache TinkerPop 3.2.6)。您可以使用bin/gremlin-server.sh脚本启动Gremlin Server。

如果您仍想将JanusGraph安装到独立的Gremlin Server中,则需要更新grapeConfig.xml以包含Oracle存储库,其中包含Oracle BerkeleyDB Java版的com.sleepycat工件:

<ibiblio name="oracle" root="http://download.oracle.com/maven" m2compatible="true"/>
© www.soinside.com 2019 - 2024. All rights reserved.