java.lang.NoSuchMethodError: com.google.common.collect.ImmutableList.copyOf(Ljava/util/Collection;)Lcom/google/common/collect/ImmutableList;?
helloworld 提问于:2017-07-26
0 0

在使用Guava缓存的时候,系统报错:

com.google.common.collect.ImmutableList.copyOf(Ljava/util/Collection;)Lcom/google/common/collect/ImmutableList;
  • 所有回答
xingfu2017 回答于:2017-07-27
0 0

jar包有冲突

删除:google-collections.jar

我来回答    java.lang.NoSuchMethodError: com.google.common.collect.ImmutableList.copyOf(Ljava/util/Collection;)Lcom/google/common/collect/ImmutableList;?