cassandra - 带有番石榴 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
解决方案
推荐阅读
- javascript - Unable to load local website inside Iframe in Edge
- c# - How to use WebSocket in one server and access it in another PC in the same LAN?
- c# - EndpointIdentity does not contain a definition for CreateUpnIdentity
- java - tool to find transitive backward dependencies in java code
- .htaccess - I want a subdomain only accessible to some some specific computer in the local network
- ios - Framework Not supported in Simulator - Make Dummy Framework
- php - Wordpress:根据价格更改div的内容
- php - laravel 社交名媛 Facebook 登录
- c# - Call MySql stored procedure which take 2 parameters from asp.net core 2.2 web API controller
- javascript - If an element is nested below divs, when do we need to care about div classes when selecting?