Hi, I imported the Java Client Library through Maven with the dependency: <dependency> <groupId>com.google.api-ads</groupId> <artifactId>google-ads</artifactId> <version>0.6.0</version> </dependency>
The problem is that after obtaining a GoogleAdsClient, I want to use the method getGoogleAdsServiceClient(). And it shows the following error: java.lang.NoSuchMethodError: com.google.common.base.Preconditions.checkArgument(ZLjava/lang/String;CLjava/lang/Object;)V I think the error has to do with the Guava version having to be above 20.0, for what I have been investigating, although including that dependency: <dependency> <groupId>com.google.guava</groupId> <artifactId>guava</artifactId> <version>27.0.1-jre</version> </dependency> The problem persists, It appears the different versions are in conflict, have you seen this before? Doing a: mvn dependency:tree | less | grep guava, we get the following: [INFO] \- com.google.guava:guava:jar:27.0.1-jre:compile [INFO] +- com.google.guava:failureaccess:jar:1.0.1:compile [INFO] +- com.google.guava:listenablefuture:jar:9999.0-empty-to-avoid-conflict-with-guava:compile [INFO] | \- com.google.guava:guava:jar:18.0:runtime [INFO] | | | +- org.glassfish.jersey.bundles.repackaged:jersey-guava:jar:2.25.1:compile Any idea on how to fix this? -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. Visit this group at https://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/42fc6d63-68b2-43dc-b45e-1da283f8057f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.