We have code which is using older version of Guava library (17). We use error-prone to compile it. Since updating to error-prone 2.0.15, we are running into this exception: java.lang.NoSuchMethodError: com.google.common.collect.Sets$SetView.iterator()Lcom/google/common/collect/UnmodifiableIterator;
It turns out that this method has been added in Guava 20: https://github.com/google/guava/blob/master/guava/src/com/google/common/collect/Sets.java#L667 (iterator method has been there before but has been inherited from super-class, with different return type)
While our project doesn't use Guava 20, latest error-prone does, which leads us to believe that our code has been compiled against this version. :-(
Expected: compile against jar files provided in our code, not against internal error-prone dependency.