NoSuchMethodError


Joe Obernberger
 

Hi All - I'm trying to write a spark job to load data from Cassandra in to a graph, but I'm getting this:

Exception in thread "main" java.lang.NoSuchMethodError: 'void com.google.common.base.Preconditions.checkArgument(boolean, java.lang.String, java.lang.Object)'
        at org.janusgraph.diskstorage.configuration.ConfigElement.<init>(ConfigElement.java:38)
        at org.janusgraph.diskstorage.configuration.ConfigNamespace.<init>(ConfigNamespace.java:32)
        at org.janusgraph.diskstorage.configuration.ConfigNamespace.<init>(ConfigNamespace.java:37)
        at org.janusgraph.graphdb.configuration.GraphDatabaseConfiguration.<clinit>(GraphDatabaseConfiguration.java:93)
        at org.janusgraph.core.JanusGraphFactory$Builder.open(JanusGraphFactory.java:275)

Which version of guava should I be using in the allinone jar? I've tried a many different once, but no luck.
Thanks!

-Joe


--
This email has been checked for viruses by AVG.
https://www.avg.com

Join {janusgraph-users@lists.lfaidata.foundation to automatically receive all group messages.