我按照说明配置一个独立的 gremlin 以使用文档使用 Janusgraph:http: //docs.janusgraph.org/latest/server.html。我无法使用文档中提到的命令下载 jars。
bin/gremlin-server.sh -i org.janusgraph janusgraph-all $VERSION
它失败并显示以下错误消息:
无法安装依赖项:错误抓取葡萄 - [未解决的依赖项:com.sleepycat#je;7.3.7:未找到] java.lang.RuntimeException:错误抓取葡萄 - [未解决的依赖项:com.sleepycat#je;7.3 .7:未找到] 在 org.codehaus.groovy.vmplugin 的 groovy.grape.GrapeIvy.getDependencies(GrapeIvy.groovy:424) 的 org.codehaus.groovy.vmplugin.v7.IndyInterface.selectMethod(IndyInterface.java:232) .v7.IndyInterface.selectMethod(IndyInterface.java:232) 在 groovy.grape.GrapeIvy.resolve(GrapeIvy.groovy:571) 在 org.codehaus.groovy.vmplugin.v7.IndyInterface.selectMethod(IndyInterface.java:232) 在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.codehaus.groovy.vmplugin.v7.IndyInterface.selectMethod(IndyInterface.java:232) 在 org.apache.tinkerpop.gremlin.groovy。 org.apache.tinkerpop.gremlin.server.util.GremlinServerInstall.main(GremlinServerInstall.java:38) 上的 util.DependencyGrabber.copyDependenciesToPath(DependencyGrabber.groovy:77)
另外,我还按照说明设置了一个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 版。
知道我在这里想念什么吗?