首页 > 解决方案 > 带有番石榴 25.0-jre 的 Titan-cassandra 1.0.0 失败

问题描述

我正在尝试将 titan-cassandra 1.0.0 与 guava-25.0-jre 一起使用。将番石榴从 18.0 升级到 25.0-jre 后,我看到以下运行时异常:

[artifact:mvn] java.lang.IllegalAccessError: tried to access method com.google.common.collect.Iterators.emptyIterator()Lcom/google/common/collect/UnmodifiableIterator; from class com.thinkaurelius.titan.graphdb.query.QueryProcessor
[artifact:mvn]  at com.thinkaurelius.titan.graphdb.query.QueryProcessor.iterator(QueryProcessor.java:55)
[artifact:mvn]  at com.google.common.collect.Iterables$4.iterator(Iterables.java:559)
[artifact:mvn]  at com.thinkaurelius.titan.graphdb.tinkerpop.optimize.TitanGraphStep.lambda$new$51(TitanGraphStep.java:46)
[artifact:mvn]  at org.apache.tinkerpop.gremlin.process.traversal.step.sideEffect.GraphStep.processNextStart(GraphStep.java:94)
[artifact:mvn]  at org.apache.tinkerpop.gremlin.process.traversal.step.util.AbstractStep.hasNext(AbstractStep.java:140)
[artifact:mvn]  at org.apache.tinkerpop.gremlin.process.traversal.step.util.ExpandableStepIterator.next(ExpandableStepIterator.java:54)
[artifact:mvn]  at org.apache.tinkerpop.gremlin.process.traversal.step.filter.FilterStep.processNextStart(FilterStep.java:37)
[artifact:mvn]  at org.apache.tinkerpop.gremlin.process.traversal.step.util.AbstractStep.next(AbstractStep.java:126)
[artifact:mvn]  at org.apache.tinkerpop.gremlin.process.traversal.step.util.AbstractStep.next(AbstractStep.java:37)
[artifact:mvn]  at org.apache.tinkerpop.gremlin.process.traversal.Traversal.fill(Traversal.java:145)
[artifact:mvn]  at org.apache.tinkerpop.gremlin.process.traversal.Traversal.toList(Traversal.java:102)

你能告诉我这些是否兼容吗?谢谢。我还在 googlegroups 中发布了这个问题:https ://groups.google.com/forum/#!topic/gremlin-users/ZzrzHKmQqvc

标签: cassandratitan

解决方案


推荐阅读