No such method error: ImmutableList.copyOf()

出现错误:

java.lang.NoSuchMethodError: com.google.common.collect.ImmutableList.copyOf(Ljava/util/Collection;)Lcom/google/common/collect/ImmutableList;

这是因为,Guava 已经完全支持 Google Collections 集合了,只使用 Guava 包就好了。