发表于 2016-9-10 15:59:58
标 题: Re: 有谁也遇到过这个问题？！
from the comment: that error to me seems to indicate that you must have a
version of guava older than 14.0 in the classpath as that is when
withFallback was introduced
Check your classpath and find where the old jar file is loaded from
【 在 moridin (None) 的大作中提到: 】
: I'm only a casual user of maven, but it seems to me that your guava 16.0
: dependency was only effective at compile time. You probably have some pre-
: v14 guava as default in your repository which is used at run time.
: One possible hack is to explicitly specify the guava version in you pom,
: assuming you can find a version that works.
: Another idea is to repackage a proper version of guava for the spark-
: cassandra-connector using the shade plugin.
: Hope this helps.