NoSuchMethod error getting a gdata service

前端 未结 8 867
时光说笑
时光说笑 2020-12-09 14:06

I get the following error:

Exception in thread \"main\" java.lang.NoSuchMethodError: com.google.common.collect.ImmutableSet.of([Ljava/lang/Object;)Lcom/googl         


        
8条回答
  •  盖世英雄少女心
    2020-12-09 14:52

    Pay attention to this jar gdata-core-1.0.jar I have the same problem, and I realized I have problem with this jar gdata-core-1.0.jar, and I found from website the same jar gdata-core-1.0.jar, but the content is different. After I replaced the new gdata-core-1.0.jar, problem solved.

    So it's tricky that the jar with the same name but their contents are not the same. you thought you have the jar, actually it's not the right one

提交回复
热议问题