googleads / google-ads-java

Google Ads API Client Library for Java
Apache License 2.0
170 stars 177 forks source link

Facing Exception NoSuchMethodError when Upgrading Google Ads API v14 to v15 #746

Closed harmonychan closed 11 months ago

harmonychan commented 11 months ago

I am currently in the process of upgrading processes using Google Ads API v14 to v15, and have encountered an issue that I believe may be related to dependencies. Specifically, I am facing the following error. I am assuming it is failing to identify the gax jar file in runtime, whether it is caused by different dependencies or another issue.

Caused by: org.shaded.guava.util.concurrent.ExecutionError: java.lang.NoSuchMethodError: com.google.api.gax.rpc.RequestParamsBuilder.add(Ljava/lang/String;Ljava/lang/String;)V at org.shaded.guava.util.concurrent.Futures.wrapAndThrowUnchecked(Futures.java:1325) at org.shaded.guava.util.concurrent.Futures.getUnchecked(Futures.java:1318) at com.google.api.gax.rpc.ApiExceptions.callAndTranslateApiException(ApiExceptions.java:53) at com.google.api.gax.rpc.UnaryCallable.call(UnaryCallable.java:112) at com.google.ads.googleads.v15.services.GoogleAdsServiceClient.search(GoogleAdsServiceClient.java:237)

Expected behavior: Able to find "add" method inside RequestParamsBuilder Class

Client library version and API version: Client library version: Java 8 Google Ads API version: V15 JDK version: 1.8

Here is the dependency tree: [INFO] com.companyname.data:internal-google:jar:1.10.3-SNAPSHOT [INFO] +- com.companyname.data:internal-core:jar:1.10.3-SNAPSHOT:compile [INFO] +- com.google.guava:guava:jar:30.1.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.code.findbugs:jsr305:jar:3.0.2:compile [INFO] | +- org.checkerframework:checker-qual:jar:3.8.0:compile [INFO] | +- com.google.errorprone:error_prone_annotations:jar:2.5.1:compile [INFO] | - com.google.j2objc:j2objc-annotations:jar:1.3:compile [INFO] +- com.google.api-ads:ads-lib:jar:4.14.0:compile [INFO] | +- com.google.inject:guice:jar:4.2.2:compile [INFO] | | - aopalliance:aopalliance:jar:1.0:compile [INFO] | +- com.google.inject.extensions:guice-assistedinject:jar:4.2.2:compile [INFO] | +- com.google.inject.extensions:guice-multibindings:jar:4.2.2:compile [INFO] | +- commons-beanutils:commons-beanutils:jar:1.9.4:compile [INFO] | +- commons-configuration:commons-configuration:jar:1.10:compile [INFO] | +- commons-collections:commons-collections:jar:3.2.2:compile [INFO] | +- commons-lang:commons-lang:jar:2.6:compile [INFO] | +- joda-time:joda-time:jar:2.8.2:compile [INFO] | +- com.google.http-client:google-http-client-jackson2:jar:1.39.2:compile [INFO] | +- com.beust:jcommander:jar:1.48:compile [INFO] | +- com.sun.xml.bind:jaxb-ri:pom:2.3.2:compile [INFO] | | - org.glassfish.jaxb:txw2:jar:2.3.2:compile [INFO] | +- com.sun.xml.ws:jaxws-ri:pom:2.3.2:compile [INFO] | | +- jakarta.annotation:jakarta.annotation-api:jar:1.3.4:compile [INFO] | | +- com.sun.xml.ws:jaxws-rt:jar:2.3.2:compile [INFO] | | | +- org.glassfish.jaxb:jaxb-runtime:jar:2.3.2:compile [INFO] | | | | - com.sun.istack:istack-commons-runtime:jar:3.0.8:compile [INFO] | | | +- com.sun.xml.ws:policy:jar:2.7.6:compile [INFO] | | | +- org.glassfish.gmbal:gmbal:jar:4.0.0:compile [INFO] | | | | +- org.glassfish.external:management-api:jar:3.2.1:compile [INFO] | | | | +- org.glassfish.pfl:pfl-basic:jar:4.0.1:compile [INFO] | | | | +- org.glassfish.pfl:pfl-tf:jar:4.0.1:compile [INFO] | | | | | +- org.glassfish.pfl:pfl-asm:jar:4.0.1:compile [INFO] | | | | | - org.glassfish.pfl:pfl-dynamic:jar:4.0.1:compile [INFO] | | | | +- org.glassfish.pfl:pfl-basic-tools:jar:4.0.1:compile [INFO] | | | | - org.glassfish.pfl:pfl-tf-tools:jar:4.0.1:compile [INFO] | | | +- org.jvnet.staxex:stax-ex:jar:1.8.1:compile [INFO] | | | +- com.sun.xml.stream.buffer:streambuffer:jar:1.5.7:compile [INFO] | | | +- org.jvnet.mimepull:mimepull:jar:1.9.11:compile [INFO] | | | +- com.sun.xml.fastinfoset:FastInfoset:jar:1.2.16:compile [INFO] | | | +- org.glassfish.ha:ha-api:jar:3.1.12:compile [INFO] | | | +- com.sun.xml.messaging.saaj:saaj-impl:jar:1.5.1:compile [INFO] | | | +- com.fasterxml.woodstox:woodstox-core:jar:5.1.0:runtime [INFO] | | | +- org.codehaus.woodstox:stax2-api:jar:4.1:runtime [INFO] | | | - jakarta.activation:jakarta.activation-api:jar:1.2.1:compile [INFO] | | +- com.sun.xml.ws:jaxws-tools:jar:2.3.2:compile [INFO] | | | +- com.sun.xml.bind:jaxb-xjc:jar:2.3.2:compile [INFO] | | | - com.sun.xml.bind:jaxb-jxc:jar:2.3.2:compile [INFO] | | +- com.sun.xml.ws:jaxws-eclipselink-plugin:jar:2.3.2:compile [INFO] | | | +- jakarta.mail:jakarta.mail-api:jar:1.6.3:compile [INFO] | | | +- jakarta.persistence:jakarta.persistence-api:jar:2.2.2:compile [INFO] | | | - org.eclipse.persistence:org.eclipse.persistence.moxy:jar:2.7.4:compile [INFO] | | | - org.eclipse.persistence:org.eclipse.persistence.core:jar:2.7.4:compile [INFO] | | | - org.eclipse.persistence:org.eclipse.persistence.asm:jar:2.7.4:compile [INFO] | | +- com.sun.xml.ws:sdo-eclipselink-plugin:jar:2.3.2:compile [INFO] | | | +- org.eclipse.persistence:org.eclipse.persistence.sdo:jar:2.7.4:compile [INFO] | | | - org.eclipse.persistence:commonj.sdo:jar:2.1.1:compile [INFO] | | +- jakarta.xml.ws:jakarta.xml.ws-api:jar:2.3.2:compile [INFO] | | +- jakarta.xml.bind:jakarta.xml.bind-api:jar:2.3.2:compile [INFO] | | +- jakarta.xml.soap:jakarta.xml.soap-api:jar:1.4.1:compile [INFO] | | - jakarta.jws:jakarta.jws-api:jar:1.1.1:compile [INFO] | +- javax.annotation:javax.annotation-api:jar:1.3.2:compile [INFO] | - com.sun.activation:javax.activation:jar:1.2.0:compile [INFO] +- com.google.apis:google-api-services-searchconsole:jar:v1-rev20211026-1.32.1:compile [INFO] +- com.google.api-ads:adwords-axis:jar:4.14.0:compile [INFO] | - com.google.api-ads:ads-lib-axis:jar:4.14.0:compile [INFO] | +- commons-discovery:commons-discovery:jar:0.4:compile [INFO] | +- javax.xml:jaxrpc-api:jar:1.1:compile [INFO] | +- javax.xml.soap:javax.xml.soap-api:jar:1.4.0:compile [INFO] | +- org.apache.axis:axis:jar:1.4:compile [INFO] | - wsdl4j:wsdl4j:jar:1.6.2:compile [INFO] +- com.google.api-ads:dfp-axis:jar:4.14.0:compile [INFO] +- com.google.api-ads:google-ads:jar:28.0.0:compile [INFO] | +- io.grpc:grpc-stub:jar:1.37.0:compile [INFO] | | - org.codehaus.mojo:animal-sniffer-annotations:jar:1.19:runtime [INFO] | +- io.grpc:grpc-protobuf:jar:1.37.0:compile [INFO] | | - io.grpc:grpc-protobuf-lite:jar:1.37.0:compile [INFO] | +- com.google.auth:google-auth-library-oauth2-http:jar:0.25.3:compile [INFO] | +- com.google.auth:google-auth-library-credentials:jar:0.25.3:compile [INFO] | +- com.google.api-ads:google-ads-codegen:jar:28.0.0:compile [INFO] | | +- com.google.api-ads:google-ads-stubs-lib:jar:28.0.0:compile [INFO] | | +- com.google.api-ads:google-ads-stubs-v13:jar:28.0.0:compile [INFO] | | +- com.google.api-ads:google-ads-stubs-v14:jar:28.0.0:compile [INFO] | | +- com.google.api-ads:google-ads-stubs-v15:jar:28.0.0:compile [INFO] | | - com.squareup:javapoet:jar:1.11.1:runtime [INFO] | +- com.google.protobuf:protobuf-java-util:jar:3.15.8:compile [INFO] | +- com.google.auto.service:auto-service:jar:1.0.1:runtime [INFO] | | +- com.google.auto.service:auto-service-annotations:jar:1.0.1:runtime [INFO] | | - com.google.auto:auto-common:jar:1.2:runtime [INFO] | - com.google.auto.value:auto-value-annotations:jar:1.7.4:compile [INFO] +- com.google.protobuf:protobuf-java:jar:3.23.3:compile [INFO] +- com.google.api:gax-grpc:jar:2.12.2:compile [INFO] | +- com.google.api:api-common:jar:1.10.1:compile [INFO] | +- com.google.api.grpc:proto-google-common-protos:jar:2.1.0:compile [INFO] | +- io.grpc:grpc-api:jar:1.37.0:compile [INFO] | +- org.threeten:threetenbp:jar:1.5.0:compile [INFO] | +- io.grpc:grpc-alts:jar:1.37.0:runtime [INFO] | | +- io.grpc:grpc-grpclb:jar:1.37.0:runtime [INFO] | | - org.conscrypt:conscrypt-openjdk-uber:jar:2.5.1:runtime [INFO] | +- io.grpc:grpc-auth:jar:1.37.0:runtime [INFO] | +- io.grpc:grpc-netty-shaded:jar:1.37.0:runtime [INFO] | | - io.grpc:grpc-core:jar:1.37.0:runtime [INFO] | | +- com.google.android:annotations:jar:4.1.1.4:runtime [INFO] | | - io.perfmark:perfmark-api:jar:0.23.0:runtime [INFO] | - io.grpc:grpc-xds:jar:1.44.0:runtime [INFO] | +- io.grpc:grpc-services:jar:1.37.0:runtime [INFO] | +- com.google.re2j:re2j:jar:1.5:runtime [INFO] | +- org.bouncycastle:bcpkix-jdk15on:jar:1.67:runtime [INFO] | | - org.bouncycastle:bcprov-jdk15on:jar:1.67:runtime [INFO] | - io.opencensus:opencensus-proto:jar:0.2.0:runtime [INFO] +- com.google.api:gax:jar:2.12.2:compile [INFO] | - io.opencensus:opencensus-api:jar:0.28.0:compile [INFO] +- org.slf4j:slf4j-api:jar:1.7.30:compile [INFO] +- com.opencsv:opencsv:jar:5.4:compile [INFO] | +- org.apache.commons:commons-lang3:jar:3.12.0:compile [INFO] | - org.apache.commons:commons-text:jar:1.9:compile [INFO] +- org.apache.velocity:velocity:jar:1.7:compile [INFO] +- org.apache.velocity:velocity-tools:jar:2.0:compile [INFO] | +- commons-digester:commons-digester:jar:1.8:compile [INFO] | +- commons-chain:commons-chain:jar:1.1:compile [INFO] | +- commons-logging:commons-logging:jar:1.1:compile [INFO] | | - javax.servlet:servlet-api:jar:2.3:compile [INFO] | +- commons-validator:commons-validator:jar:1.3.1:compile [INFO] | +- dom4j:dom4j:jar:1.1:compile [INFO] | +- oro:oro:jar:2.0.8:compile [INFO] | +- sslext:sslext:jar:1.2-0:compile [INFO] | +- org.apache.struts:struts-core:jar:1.3.8:compile [INFO] | | - antlr:antlr:jar:2.7.2:compile [INFO] | +- org.apache.struts:struts-taglib:jar:1.3.8:compile [INFO] | - org.apache.struts:struts-tiles:jar:1.3.8:compile [INFO] +- com.google.cloud:google-cloud-bigquery:jar:2.10.0:compile [INFO] | +- com.google.cloud:google-cloud-core:jar:1.94.7:compile [INFO] | +- com.google.api.grpc:proto-google-iam-v1:jar:1.0.12:compile [INFO] | +- com.google.http-client:google-http-client-gson:jar:1.39.2:compile [INFO] | +- com.google.cloud:google-cloud-core-http:jar:1.94.7:compile [INFO] | +- com.google.oauth-client:google-oauth-client:jar:1.33.1:compile [INFO] | +- com.google.http-client:google-http-client-apache-v2:jar:1.39.2:compile [INFO] | +- com.google.http-client:google-http-client-appengine:jar:1.39.2:compile [INFO] | +- com.google.api:gax-httpjson:jar:0.80.0:compile [INFO] | +- io.grpc:grpc-context:jar:1.37.0:compile [INFO] | +- io.opencensus:opencensus-contrib-http-util:jar:0.31.0:compile [INFO] | +- com.fasterxml.jackson.core:jackson-core:jar:2.12.3:compile [INFO] | +- com.google.http-client:google-http-client:jar:1.39.2:compile [INFO] | +- org.apache.httpcomponents:httpclient:jar:4.5.13:compile [INFO] | +- commons-codec:commons-codec:jar:1.15:compile [INFO] | +- org.apache.httpcomponents:httpcore:jar:4.4.14:compile [INFO] | +- org.checkerframework:checker-compat-qual:jar:2.5.5:compile [INFO] | +- com.google.apis:google-api-services-bigquery:jar:v2-rev20220307-1.32.1:compile [INFO] | +- com.google.code.gson:gson:jar:2.9.0:compile [INFO] | - org.threeten:threeten-extra:jar:1.7.0:compile [INFO] +- com.google.api-client:google-api-client:jar:1.31.4:compile [INFO] +- com.google.cloud:google-cloud-nio:jar:0.122.12:compile [INFO] | +- com.google.apis:google-api-services-storage:jar:v1-rev20210127-1.31.0:compile [INFO] | - javax.inject:javax.inject:jar:1:compile [INFO] +- com.google.cloud:google-cloud-storage:jar:2.5.0:compile [INFO] +- com.google.apis:google-api-services-dfareporting:jar:v4-rev20220920-2.0.0:compile [INFO] +- org.apache.commons:commons-collections4:jar:4.4:compile [INFO] +- org.projectlombok:lombok:jar:1.18.20:provided [INFO] +- com.companyname.data:data-commons-spark-tests:jar:1.3.1:test [INFO] | +- com.holdenkarau:spark-testing-base_2.11:jar:2.4.5_0.14.0:test [INFO] | | +- org.apache.spark:spark-streaming_2.11:jar:2.4.5:test [INFO] | | +- org.apache.spark:spark-yarn_2.11:jar:2.4.5:test [INFO] | | | +- org.apache.hadoop:hadoop-yarn-common:jar:2.6.5:provided [INFO] | | | | +- javax.xml.bind:jaxb-api:jar:2.2.2:provided [INFO] | | | | | - javax.xml.stream:stax-api:jar:1.0-2:provided [INFO] | | | | +- org.codehaus.jackson:jackson-jaxrs:jar:1.9.13:provided [INFO] | | | | - org.codehaus.jackson:jackson-xc:jar:1.9.13:provided [INFO] | | | - org.apache.hadoop:hadoop-yarn-client:jar:2.6.5:provided [INFO] | | +- org.apache.spark:spark-mllib_2.11:jar:2.4.5:test [INFO] | | | +- org.apache.spark:spark-graphx_2.11:jar:2.4.5:test [INFO] | | | | +- com.github.fommil.netlib:core:jar:1.1.2:test [INFO] | | | | - net.sourceforge.f2j:arpack_combined_all:jar:0.1:test [INFO] | | | +- org.apache.spark:spark-mllib-local_2.11:jar:2.4.5:test [INFO] | | | - org.scalanlp:breeze_2.11:jar:0.13.2:test [INFO] | | | +- org.scalanlp:breeze-macros_2.11:jar:0.13.2:test [INFO] | | | +- com.github.rwl:jtransforms:jar:2.4.0:test [INFO] | | | +- org.spire-math:spire_2.11:jar:0.13.0:test [INFO] | | | | +- org.spire-math:spire-macros_2.11:jar:0.13.0:test [INFO] | | | | - org.typelevel:machinist_2.11:jar:0.6.1:test [INFO] | | | - com.chuusai:shapeless_2.11:jar:2.3.2:test [INFO] | | | - org.typelevel:macro-compat_2.11:jar:1.1.1:test [INFO] | | +- io.github.nicolasstucki:multisets_2.11:jar:0.4:test [INFO] | | +- org.scalacheck:scalacheck_2.11:jar:1.14.0:test [INFO] | | | - org.scala-sbt:test-interface:jar:1.0:test [INFO] | | +- org.eclipse.jetty:jetty-util:jar:9.3.11.v20160721:test [INFO] | | +- org.apache.hadoop:hadoop-hdfs:jar:tests:2.8.3:test [INFO] | | | +- org.apache.hadoop:hadoop-hdfs-client:jar:2.8.3:provided [INFO] | | | | - com.squareup.okhttp:okhttp:jar:2.4.0:provided [INFO] | | | | - com.squareup.okio:okio:jar:1.4.0:provided [INFO] | | | +- org.mortbay.jetty:jetty:jar:6.1.26:provided [INFO] | | | +- org.mortbay.jetty:jetty-util:jar:6.1.26:provided [INFO] | | | +- com.sun.jersey:jersey-core:jar:1.9:provided [INFO] | | | +- com.sun.jersey:jersey-server:jar:1.9:provided [INFO] | | | | - asm:asm:jar:3.1:provided [INFO] | | | +- commons-daemon:commons-daemon:jar:1.0.13:provided [INFO] | | | +- xmlenc:xmlenc:jar:0.52:provided [INFO] | | | +- xerces:xercesImpl:jar:2.9.1:provided [INFO] | | | | - xml-apis:xml-apis:jar:1.3.04:provided [INFO] | | | - org.apache.htrace:htrace-core4:jar:4.0.1-incubating:provided [INFO] | | +- org.apache.hadoop:hadoop-hdfs:jar:2.8.3:provided [INFO] | | +- org.apache.hadoop:hadoop-common:jar:tests:2.8.3:test [INFO] | | | +- org.mortbay.jetty:jetty-sslengine:jar:6.1.26:provided [INFO] | | | +- javax.servlet.jsp:jsp-api:jar:2.1:provided [INFO] | | | +- com.sun.jersey:jersey-json:jar:1.9:provided [INFO] | | | +- net.java.dev.jets3t:jets3t:jar:0.9.0:provided [INFO] | | | +- org.apache.hadoop:hadoop-auth:jar:2.8.3:provided [INFO] | | | | +- com.nimbusds:nimbus-jose-jwt:jar:3.9:provided [INFO] | | | | | +- net.jcip:jcip-annotations:jar:1.0:provided [INFO] | | | | | - net.minidev:json-smart:jar:1.1.1:provided [INFO] | | | | - org.apache.directory.server:apacheds-kerberos-codec:jar:2.0.0-M15:provided [INFO] | | | | +- org.apache.directory.server:apacheds-i18n:jar:2.0.0-M15:provided [INFO] | | | | +- org.apache.directory.api:api-asn1-api:jar:1.0.0-M20:provided [INFO] | | | | - org.apache.directory.api:api-util:jar:1.0.0-M20:provided [INFO] | | | +- com.jcraft:jsch:jar:0.1.54:provided [INFO] | | | - org.apache.curator:curator-client:jar:2.7.1:provided [INFO] | | +- org.apache.hadoop:hadoop-common:jar:2.8.3:provided [INFO] | | +- org.apache.hadoop:hadoop-client:jar:tests:2.8.3:test [INFO] | | +- org.apache.hadoop:hadoop-mapreduce-client-jobclient:jar:tests:2.8.3:test [INFO] | | | +- org.apache.hadoop:hadoop-mapreduce-client-common:jar:2.8.3:provided [INFO] | | | +- org.apache.hadoop:hadoop-mapreduce-client-shuffle:jar:2.8.3:provided [INFO] | | | - com.google.inject.extensions:guice-servlet:jar:3.0:provided [INFO] | | +- org.apache.hadoop:hadoop-mapreduce-client-jobclient:jar:2.8.3:provided [INFO] | | +- org.apache.hadoop:hadoop-yarn-server-tests:jar:tests:2.8.3:test [INFO] | | | +- org.apache.hadoop:hadoop-yarn-server-common:jar:2.8.3:provided [INFO] | | | +- org.apache.hadoop:hadoop-yarn-server-nodemanager:jar:2.8.3:provided [INFO] | | | | +- org.codehaus.jettison:jettison:jar:1.1:provided [INFO] | | | | +- com.sun.jersey:jersey-client:jar:1.9:provided [INFO] | | | | - com.sun.jersey.contribs:jersey-guice:jar:1.9:provided [INFO] | | | - org.apache.hadoop:hadoop-yarn-server-resourcemanager:jar:2.8.3:test [INFO] | | | +- org.apache.hadoop:hadoop-yarn-server-applicationhistoryservice:jar:2.8.3:test [INFO] | | | | - de.ruedigermoeller:fst:jar:2.50:test [INFO] | | | | - com.cedarsoftware:java-util:jar:1.9.0:test [INFO] | | | | - com.cedarsoftware:json-io:jar:2.5.1:test [INFO] | | | +- org.apache.curator:curator-test:jar:2.7.1:test [INFO] | | | | - org.apache.commons:commons-math:jar:2.2:test [INFO] | | | - org.apache.zookeeper:zookeeper:test-jar:tests:3.4.6:test [INFO] | | +- org.apache.hadoop:hadoop-yarn-server-tests:jar:2.8.3:test [INFO] | | +- org.apache.hadoop:hadoop-yarn-server-web-proxy:jar:tests:2.8.3:test [INFO] | | +- org.apache.hadoop:hadoop-yarn-server-web-proxy:jar:2.8.3:test [INFO] | | - org.apache.hadoop:hadoop-minicluster:jar:2.8.3:test [INFO] | | - org.apache.hadoop:hadoop-mapreduce-client-hs:jar:2.8.3:test [INFO] | +- org.scalatest:scalatest_2.11:jar:3.0.5:test [INFO] | | +- org.scalactic:scalactic_2.11:jar:3.0.5:test [INFO] | | +- org.scala-lang:scala-reflect:jar:2.11.12:provided [INFO] | | - org.scala-lang.modules:scala-xml_2.11:jar:1.0.6:provided [INFO] | +- org.junit.jupiter:junit-jupiter:jar:5.7.1:test [INFO] | | +- org.junit.jupiter:junit-jupiter-api:jar:5.7.1:test [INFO] | | | +- org.apiguardian:apiguardian-api:jar:1.1.0:test [INFO] | | | +- org.opentest4j:opentest4j:jar:1.2.0:test [INFO] | | | - org.junit.platform:junit-platform-commons:jar:1.7.1:test [INFO] | | +- org.junit.jupiter:junit-jupiter-params:jar:5.7.1:test [INFO] | | - org.junit.jupiter:junit-jupiter-engine:jar:5.7.1:test [INFO] | | - org.junit.platform:junit-platform-engine:jar:1.7.1:test [INFO] | +- junit:junit:jar:4.13.2:test [INFO] | - com.fasterxml.jackson.module:jackson-module-scala_2.11:jar:2.12.3:provided [INFO] | - com.fasterxml.jackson.core:jackson-annotations:jar:2.12.3:provided [INFO] +- org.easymock:easymock:jar:4.3:test [INFO] | - org.objenesis:objenesis:jar:3.2:provided [INFO] +- org.powermock:powermock-module-junit4:jar:2.0.9:test [INFO] | +- org.powermock:powermock-module-junit4-common:jar:2.0.9:test [INFO] | | - org.powermock:powermock-reflect:jar:2.0.9:test [INFO] | - org.hamcrest:hamcrest-core:jar:1.3:test [INFO] +- org.powermock:powermock-api-mockito2:jar:2.0.9:test [INFO] | +- org.powermock:powermock-api-support:jar:2.0.9:test [INFO] | - org.mockito:mockito-core:jar:3.9.0:test [INFO] +- org.powermock:powermock-module-junit4-rule-agent:jar:2.0.9:test [INFO] | - org.powermock:powermock-core:jar:2.0.9:test [INFO] | +- org.javassist:javassist:jar:3.27.0-GA:provided [INFO] | +- net.bytebuddy:byte-buddy:jar:1.10.14:test [INFO] | - net.bytebuddy:byte-buddy-agent:jar:1.10.14:test [INFO] +- org.powermock:powermock-module-javaagent:jar:2.0.9:test [INFO] +- org.apache.spark:spark-core_2.11:jar:2.4.5:provided [INFO] | +- com.thoughtworks.paranamer:paranamer:jar:2.8:provided [INFO] | +- org.apache.avro:avro:jar:1.8.2:provided [INFO] | | +- org.codehaus.jackson:jackson-core-asl:jar:1.9.13:provided [INFO] | | +- org.apache.commons:commons-compress:jar:1.8.1:provided [INFO] | | - org.tukaani:xz:jar:1.5:provided [INFO] | +- org.apache.avro:avro-mapred:jar:hadoop2:1.8.2:provided [INFO] | | - org.apache.avro:avro-ipc:jar:1.8.2:provided [INFO] | +- com.twitter:chill_2.11:jar:0.9.3:provided [INFO] | | - com.esotericsoftware:kryo-shaded:jar:4.0.2:provided [INFO] | | - com.esotericsoftware:minlog:jar:1.3.0:provided [INFO] | +- com.twitter:chill-java:jar:0.9.3:provided [INFO] | +- org.apache.xbean:xbean-asm6-shaded:jar:4.8:provided [INFO] | +- org.apache.hadoop:hadoop-client:jar:2.6.5:provided [INFO] | | +- org.apache.hadoop:hadoop-mapreduce-client-app:jar:2.6.5:provided [INFO] | | +- org.apache.hadoop:hadoop-yarn-api:jar:2.6.5:provided [INFO] | | +- org.apache.hadoop:hadoop-mapreduce-client-core:jar:2.6.5:provided [INFO] | | - org.apache.hadoop:hadoop-annotations:jar:2.6.5:provided [INFO] | +- org.apache.spark:spark-launcher_2.11:jar:2.4.5:provided [INFO] | +- org.apache.spark:spark-kvstore_2.11:jar:2.4.5:provided [INFO] | | - org.fusesource.leveldbjni:leveldbjni-all:jar:1.8:provided [INFO] | +- org.apache.spark:spark-network-common_2.11:jar:2.4.5:provided [INFO] | +- org.apache.spark:spark-network-shuffle_2.11:jar:2.4.5:provided [INFO] | +- org.apache.spark:spark-unsafe_2.11:jar:2.4.5:provided [INFO] | +- javax.activation:activation:jar:1.1.1:provided [INFO] | +- org.apache.curator:curator-recipes:jar:2.6.0:provided [INFO] | | - org.apache.curator:curator-framework:jar:2.6.0:provided [INFO] | +- org.apache.zookeeper:zookeeper:jar:3.4.6:provided [INFO] | +- javax.servlet:javax.servlet-api:jar:3.1.0:provided [INFO] | +- org.apache.commons:commons-math3:jar:3.4.1:provided [INFO] | +- org.slf4j:jul-to-slf4j:jar:1.7.16:provided [INFO] | +- org.slf4j:jcl-over-slf4j:jar:1.7.16:provided [INFO] | +- log4j:log4j:jar:1.2.17:compile [INFO] | +- com.ning:compress-lzf:jar:1.0.3:provided [INFO] | +- org.xerial.snappy:snappy-java:jar:1.1.7.3:provided [INFO] | +- org.lz4:lz4-java:jar:1.4.0:provided [INFO] | +- com.github.luben:zstd-jni:jar:1.3.2-2:provided [INFO] | +- org.roaringbitmap:RoaringBitmap:jar:0.7.45:provided [INFO] | | - org.roaringbitmap:shims:jar:0.7.45:provided [INFO] | +- commons-net:commons-net:jar:3.1:provided [INFO] | +- org.scala-lang:scala-library:jar:2.11.12:provided [INFO] | +- org.json4s:json4s-jackson_2.11:jar:3.5.3:provided [INFO] | | - org.json4s:json4s-core_2.11:jar:3.5.3:provided [INFO] | | +- org.json4s:json4s-ast_2.11:jar:3.5.3:provided [INFO] | | - org.json4s:json4s-scalap_2.11:jar:3.5.3:provided [INFO] | +- org.glassfish.jersey.core:jersey-client:jar:2.22.2:provided [INFO] | | +- javax.ws.rs:javax.ws.rs-api:jar:2.0.1:provided [INFO] | | +- org.glassfish.hk2:hk2-api:jar:2.4.0-b34:provided [INFO] | | | +- org.glassfish.hk2:hk2-utils:jar:2.4.0-b34:provided [INFO] | | | - org.glassfish.hk2.external:aopalliance-repackaged:jar:2.4.0-b34:provided [INFO] | | +- org.glassfish.hk2.external:javax.inject:jar:2.4.0-b34:provided [INFO] | | - org.glassfish.hk2:hk2-locator:jar:2.4.0-b34:provided [INFO] | +- org.glassfish.jersey.core:jersey-common:jar:2.22.2:provided [INFO] | | +- org.glassfish.jersey.bundles.repackaged:jersey-guava:jar:2.22.2:provided [INFO] | | - org.glassfish.hk2:osgi-resource-locator:jar:1.0.1:provided [INFO] | +- org.glassfish.jersey.core:jersey-server:jar:2.22.2:provided [INFO] | | +- org.glassfish.jersey.media:jersey-media-jaxb:jar:2.22.2:provided [INFO] | | - javax.validation:validation-api:jar:1.1.0.Final:provided [INFO] | +- org.glassfish.jersey.containers:jersey-container-servlet:jar:2.22.2:provided [INFO] | +- org.glassfish.jersey.containers:jersey-container-servlet-core:jar:2.22.2:provided [INFO] | +- io.netty:netty-all:jar:4.1.42.Final:provided [INFO] | +- io.netty:netty:jar:3.9.9.Final:provided [INFO] | +- com.clearspring.analytics:stream:jar:2.7.0:provided [INFO] | +- io.dropwizard.metrics:metrics-core:jar:3.1.5:provided [INFO] | +- io.dropwizard.metrics:metrics-jvm:jar:3.1.5:provided [INFO] | +- io.dropwizard.metrics:metrics-json:jar:3.1.5:provided [INFO] | +- io.dropwizard.metrics:metrics-graphite:jar:3.1.5:provided [INFO] | +- com.fasterxml.jackson.core:jackson-databind:jar:2.12.3:provided [INFO] | +- org.apache.ivy:ivy:jar:2.4.0:provided [INFO] | +- net.razorvine:pyrolite:jar:4.13:provided [INFO] | +- net.sf.py4j:py4j:jar:0.10.7:provided [INFO] | +- org.apache.spark:spark-tags_2.11:jar:2.4.5:provided [INFO] | +- org.apache.commons:commons-crypto:jar:1.0.0:provided [INFO] | - org.spark-project.spark:unused:jar:1.0.0:provided [INFO] +- org.apache.spark:spark-sql_2.11:jar:2.4.5:provided [INFO] | +- com.univocity:univocity-parsers:jar:2.7.3:provided [INFO] | +- org.apache.spark:spark-sketch_2.11:jar:2.4.5:provided [INFO] | +- org.apache.spark:spark-catalyst_2.11:jar:2.4.5:provided [INFO] | | +- org.scala-lang.modules:scala-parser-combinators_2.11:jar:1.1.0:provided [INFO] | | +- org.codehaus.janino:janino:jar:3.0.9:provided [INFO] | | +- org.codehaus.janino:commons-compiler:jar:3.0.9:provided [INFO] | | - org.antlr:antlr4-runtime:jar:4.7:provided [INFO] | +- org.apache.orc:orc-core:jar:nohive:1.5.5:provided [INFO] | | +- org.apache.orc:orc-shims:jar:1.5.5:provided [INFO] | | - io.airlift:aircompressor:jar:0.10:provided [INFO] | +- org.apache.orc:orc-mapreduce:jar:nohive:1.5.5:provided [INFO] | +- org.apache.parquet:parquet-column:jar:1.10.1:provided [INFO] | | +- org.apache.parquet:parquet-common:jar:1.10.1:provided [INFO] | | - org.apache.parquet:parquet-encoding:jar:1.10.1:provided [INFO] | +- org.apache.parquet:parquet-hadoop:jar:1.10.1:provided [INFO] | | +- org.apache.parquet:parquet-format:jar:2.4.0:provided [INFO] | | - org.apache.parquet:parquet-jackson:jar:1.10.1:provided [INFO] | - org.apache.arrow:arrow-vector:jar:0.10.0:provided [INFO] | +- org.apache.arrow:arrow-format:jar:0.10.0:provided [INFO] | +- org.apache.arrow:arrow-memory:jar:0.10.0:provided [INFO] | +- com.carrotsearch:hppc:jar:0.7.2:provided [INFO] | - com.vlkan:flatbuffers:jar:1.2.0-3f79e055:provided [INFO] +- org.apache.spark:spark-hive_2.11:jar:2.4.5:provided [INFO] | +- com.twitter:parquet-hadoop-bundle:jar:1.6.0:provided [INFO] | +- org.spark-project.hive:hive-exec:jar:1.2.1.spark2:provided [INFO] | | +- commons-io:commons-io:jar:2.8.0:provided [INFO] | | +- javolution:javolution:jar:5.5.1:provided [INFO] | | +- log4j:apache-log4j-extras:jar:1.2.17:provided [INFO] | | +- org.antlr:antlr-runtime:jar:3.4:provided [INFO] | | | - org.antlr:stringtemplate:jar:3.2.1:provided [INFO] | | +- org.antlr:ST4:jar:4.0.4:provided [INFO] | | +- com.googlecode.javaewah:JavaEWAH:jar:0.3.2:provided [INFO] | | +- org.iq80.snappy:snappy:jar:0.2:provided [INFO] | | +- stax:stax-api:jar:1.0.1:provided [INFO] | | - net.sf.opencsv:opencsv:jar:2.3:provided [INFO] | +- org.spark-project.hive:hive-metastore:jar:1.2.1.spark2:provided [INFO] | | +- com.jolbox:bonecp:jar:0.8.0.RELEASE:provided [INFO] | | +- commons-cli:commons-cli:jar:1.4:provided [INFO] | | +- org.datanucleus:datanucleus-api-jdo:jar:3.2.6:provided [INFO] | | +- org.datanucleus:datanucleus-rdbms:jar:3.2.9:provided [INFO] | | +- commons-pool:commons-pool:jar:1.5.4:provided [INFO] | | +- commons-dbcp:commons-dbcp:jar:1.4:provided [INFO] | | - javax.jdo:jdo-api:jar:3.0.1:provided [INFO] | | - javax.transaction:jta:jar:1.1:provided [INFO] | +- commons-httpclient:commons-httpclient:jar:3.1:provided [INFO] | +- org.apache.calcite:calcite-avatica:jar:1.2.0-incubating:provided [INFO] | +- org.apache.calcite:calcite-core:jar:1.2.0-incubating:provided [INFO] | | +- org.apache.calcite:calcite-linq4j:jar:1.2.0-incubating:provided [INFO] | | - net.hydromatic:eigenbase-properties:jar:1.1.5:provided [INFO] | +- org.codehaus.jackson:jackson-mapper-asl:jar:1.9.13:provided [INFO] | +- org.jodd:jodd-core:jar:3.5.2:provided [INFO] | +- org.datanucleus:datanucleus-core:jar:3.2.10:provided [INFO] | +- org.apache.thrift:libthrift:jar:0.9.3:provided [INFO] | +- org.apache.thrift:libfb303:jar:0.9.3:provided [INFO] | - org.apache.derby:derby:jar:10.12.1.1:provided [INFO] - org.slf4j:slf4j-log4j12:jar:1.7.30:compile

Looking at past issues that users have faced, I have tried upgrading Gax to 2.32.0 and received this error:

Caused by: java.lang.NoClassDefFoundError: com/shaded/google/auth/oauth2/GdchCredentials at com.google.ads.googleads.v15.services.stub.GrpcGoogleAdsServiceStub.create(GrpcGoogleAdsServiceStub.java:96)

I have also tried removing the old AdWords API dependencies and encountered the same error.

jradcliff commented 11 months ago

Hi,

This is similar to #743 and #744. As in those cases, I see you have dependencies on the client library for the old, sunset AdWords API and the DFP API:

com.google.api-ads:ads-lib:jar:4.14.0:compile
com.google.api-ads:adwords-axis:jar:4.14.0:compile
com.google.api-ads:dfp-axis:jar:4.14.0:compile

Those dependencies are conflicting with the more current dependencies for this library. If you remove the above dependencies, that should fix the issue.

Thanks, Josh, Google Ads API Team

harmonychan commented 11 months ago

Hi, I removed the AdWords and DFP dependencies, but yet I encounter the same NoSuchMethodError. Here is my dependency tree now.

[INFO] com.companyname.data:internal-google:jar:1.11.1-SNAPSHOT [INFO] +- com.companyname.data:internal-core:jar:1.11.1-SNAPSHOT:compile [INFO] +- com.google.guava:guava:jar:30.1.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.code.findbugs:jsr305:jar:3.0.2:compile [INFO] | +- org.checkerframework:checker-qual:jar:3.8.0:compile [INFO] | +- com.google.errorprone:error_prone_annotations:jar:2.5.1:compile [INFO] | - com.google.j2objc:j2objc-annotations:jar:1.3:compile [INFO] +- com.google.apis:google-api-services-searchconsole:jar:v1-rev20211026-1.32.1:compile [INFO] +- com.google.api-ads:google-ads:jar:28.0.0:compile [INFO] | +- io.grpc:grpc-stub:jar:1.37.0:compile [INFO] | | - org.codehaus.mojo:animal-sniffer-annotations:jar:1.19:runtime [INFO] | +- io.grpc:grpc-protobuf:jar:1.37.0:compile [INFO] | | - io.grpc:grpc-protobuf-lite:jar:1.37.0:compile [INFO] | +- com.google.auth:google-auth-library-oauth2-http:jar:0.25.3:compile [INFO] | +- com.google.auth:google-auth-library-credentials:jar:0.25.3:compile [INFO] | +- com.google.api-ads:google-ads-codegen:jar:28.0.0:compile [INFO] | | +- com.google.api-ads:google-ads-stubs-lib:jar:28.0.0:compile [INFO] | | +- com.google.api-ads:google-ads-stubs-v13:jar:28.0.0:compile [INFO] | | +- com.google.api-ads:google-ads-stubs-v14:jar:28.0.0:compile [INFO] | | +- com.google.api-ads:google-ads-stubs-v15:jar:28.0.0:compile [INFO] | | - com.squareup:javapoet:jar:1.11.1:runtime [INFO] | +- com.google.protobuf:protobuf-java-util:jar:3.15.8:compile [INFO] | +- com.google.auto.service:auto-service:jar:1.0.1:runtime [INFO] | | +- com.google.auto.service:auto-service-annotations:jar:1.0.1:runtime [INFO] | | - com.google.auto:auto-common:jar:1.2:runtime [INFO] | +- javax.annotation:javax.annotation-api:jar:1.3.2:compile [INFO] | - com.google.auto.value:auto-value-annotations:jar:1.7.4:compile [INFO] +- com.google.protobuf:protobuf-java:jar:3.23.3:compile [INFO] +- com.google.api:gax-grpc:jar:2.12.2:compile [INFO] | +- com.google.api:api-common:jar:1.10.1:compile [INFO] | +- com.google.api.grpc:proto-google-common-protos:jar:2.1.0:compile [INFO] | +- io.grpc:grpc-api:jar:1.37.0:compile [INFO] | +- org.threeten:threetenbp:jar:1.5.0:compile [INFO] | +- io.grpc:grpc-alts:jar:1.37.0:runtime [INFO] | | +- io.grpc:grpc-grpclb:jar:1.37.0:runtime [INFO] | | - org.conscrypt:conscrypt-openjdk-uber:jar:2.5.1:runtime [INFO] | +- io.grpc:grpc-auth:jar:1.37.0:runtime [INFO] | +- io.grpc:grpc-netty-shaded:jar:1.37.0:runtime [INFO] | | - io.grpc:grpc-core:jar:1.37.0:runtime [INFO] | | +- com.google.android:annotations:jar:4.1.1.4:runtime [INFO] | | - io.perfmark:perfmark-api:jar:0.23.0:runtime [INFO] | - io.grpc:grpc-xds:jar:1.44.0:runtime [INFO] | +- io.grpc:grpc-services:jar:1.37.0:runtime [INFO] | +- com.google.re2j:re2j:jar:1.5:runtime [INFO] | +- org.bouncycastle:bcpkix-jdk15on:jar:1.67:runtime [INFO] | | - org.bouncycastle:bcprov-jdk15on:jar:1.67:runtime [INFO] | - io.opencensus:opencensus-proto:jar:0.2.0:runtime [INFO] +- com.google.api:gax:jar:2.12.2:compile [INFO] | - io.opencensus:opencensus-api:jar:0.28.0:compile [INFO] +- org.slf4j:slf4j-api:jar:1.7.30:compile [INFO] +- com.opencsv:opencsv:jar:5.4:compile [INFO] | +- org.apache.commons:commons-lang3:jar:3.12.0:compile [INFO] | +- org.apache.commons:commons-text:jar:1.9:compile [INFO] | - commons-beanutils:commons-beanutils:jar:1.9.4:compile [INFO] +- org.apache.velocity:velocity:jar:1.7:compile [INFO] | +- commons-collections:commons-collections:jar:3.2.1:compile [INFO] | - commons-lang:commons-lang:jar:2.4:compile [INFO] +- org.apache.velocity:velocity-tools:jar:2.0:compile [INFO] | +- commons-digester:commons-digester:jar:1.8:compile [INFO] | +- commons-chain:commons-chain:jar:1.1:compile [INFO] | +- commons-logging:commons-logging:jar:1.1:compile [INFO] | | - javax.servlet:servlet-api:jar:2.3:compile [INFO] | +- commons-validator:commons-validator:jar:1.3.1:compile [INFO] | +- dom4j:dom4j:jar:1.1:compile [INFO] | +- oro:oro:jar:2.0.8:compile [INFO] | +- sslext:sslext:jar:1.2-0:compile [INFO] | +- org.apache.struts:struts-core:jar:1.3.8:compile [INFO] | | - antlr:antlr:jar:2.7.2:compile [INFO] | +- org.apache.struts:struts-taglib:jar:1.3.8:compile [INFO] | - org.apache.struts:struts-tiles:jar:1.3.8:compile [INFO] +- com.google.cloud:google-cloud-bigquery:jar:2.10.0:compile [INFO] | +- com.google.cloud:google-cloud-core:jar:1.94.7:compile [INFO] | +- com.google.api.grpc:proto-google-iam-v1:jar:1.0.12:compile [INFO] | +- com.google.http-client:google-http-client-gson:jar:1.39.2:compile [INFO] | +- com.google.cloud:google-cloud-core-http:jar:1.94.7:compile [INFO] | +- com.google.oauth-client:google-oauth-client:jar:1.33.1:compile [INFO] | +- com.google.http-client:google-http-client-apache-v2:jar:1.39.2:compile [INFO] | +- com.google.http-client:google-http-client-appengine:jar:1.39.2:compile [INFO] | +- com.google.api:gax-httpjson:jar:0.80.0:compile [INFO] | +- io.grpc:grpc-context:jar:1.37.0:compile [INFO] | +- io.opencensus:opencensus-contrib-http-util:jar:0.31.0:compile [INFO] | +- com.google.http-client:google-http-client-jackson2:jar:1.39.2:compile [INFO] | +- com.fasterxml.jackson.core:jackson-core:jar:2.12.3:compile [INFO] | +- com.google.http-client:google-http-client:jar:1.39.2:compile [INFO] | +- org.apache.httpcomponents:httpclient:jar:4.5.13:compile [INFO] | +- commons-codec:commons-codec:jar:1.15:compile [INFO] | +- org.apache.httpcomponents:httpcore:jar:4.4.14:compile [INFO] | +- org.checkerframework:checker-compat-qual:jar:2.5.5:compile [INFO] | +- com.google.apis:google-api-services-bigquery:jar:v2-rev20220307-1.32.1:compile [INFO] | +- com.google.code.gson:gson:jar:2.9.0:compile [INFO] | - org.threeten:threeten-extra:jar:1.7.0:compile [INFO] +- com.google.api-client:google-api-client:jar:1.31.4:compile [INFO] +- com.google.cloud:google-cloud-nio:jar:0.122.12:compile [INFO] | +- com.google.apis:google-api-services-storage:jar:v1-rev20210127-1.31.0:compile [INFO] | - javax.inject:javax.inject:jar:1:compile [INFO] +- com.google.cloud:google-cloud-storage:jar:2.5.0:compile [INFO] +- com.google.apis:google-api-services-dfareporting:jar:v4-rev20220920-2.0.0:compile [INFO] +- org.apache.commons:commons-collections4:jar:4.4:compile [INFO] +- org.projectlombok:lombok:jar:1.18.20:provided [INFO] +- com.companyname.data:data-commons-spark-tests:jar:1.3.1:test [INFO] | +- com.holdenkarau:spark-testing-base_2.11:jar:2.4.5_0.14.0:test [INFO] | | +- org.apache.spark:spark-streaming_2.11:jar:2.4.5:test [INFO] | | +- org.apache.spark:spark-yarn_2.11:jar:2.4.5:test [INFO] | | | +- org.apache.hadoop:hadoop-yarn-common:jar:2.6.5:provided [INFO] | | | | +- javax.xml.bind:jaxb-api:jar:2.2.2:provided [INFO] | | | | | - javax.xml.stream:stax-api:jar:1.0-2:provided [INFO] | | | | +- org.codehaus.jackson:jackson-jaxrs:jar:1.9.13:provided [INFO] | | | | +- org.codehaus.jackson:jackson-xc:jar:1.9.13:provided [INFO] | | | | - com.google.inject:guice:jar:3.0:provided [INFO] | | | | - aopalliance:aopalliance:jar:1.0:provided [INFO] | | | - org.apache.hadoop:hadoop-yarn-client:jar:2.6.5:provided [INFO] | | +- org.apache.spark:spark-mllib_2.11:jar:2.4.5:test [INFO] | | | +- org.apache.spark:spark-graphx_2.11:jar:2.4.5:test [INFO] | | | | +- com.github.fommil.netlib:core:jar:1.1.2:test [INFO] | | | | - net.sourceforge.f2j:arpack_combined_all:jar:0.1:test [INFO] | | | +- org.apache.spark:spark-mllib-local_2.11:jar:2.4.5:test [INFO] | | | - org.scalanlp:breeze_2.11:jar:0.13.2:test [INFO] | | | +- org.scalanlp:breeze-macros_2.11:jar:0.13.2:test [INFO] | | | +- com.github.rwl:jtransforms:jar:2.4.0:test [INFO] | | | +- org.spire-math:spire_2.11:jar:0.13.0:test [INFO] | | | | +- org.spire-math:spire-macros_2.11:jar:0.13.0:test [INFO] | | | | - org.typelevel:machinist_2.11:jar:0.6.1:test [INFO] | | | - com.chuusai:shapeless_2.11:jar:2.3.2:test [INFO] | | | - org.typelevel:macro-compat_2.11:jar:1.1.1:test [INFO] | | +- io.github.nicolasstucki:multisets_2.11:jar:0.4:test [INFO] | | +- org.scalacheck:scalacheck_2.11:jar:1.14.0:test [INFO] | | | - org.scala-sbt:test-interface:jar:1.0:test [INFO] | | +- org.eclipse.jetty:jetty-util:jar:9.3.11.v20160721:test [INFO] | | +- org.apache.hadoop:hadoop-hdfs:jar:tests:2.8.3:test [INFO] | | | +- org.apache.hadoop:hadoop-hdfs-client:jar:2.8.3:provided [INFO] | | | | - com.squareup.okhttp:okhttp:jar:2.4.0:provided [INFO] | | | | - com.squareup.okio:okio:jar:1.4.0:provided [INFO] | | | +- org.mortbay.jetty:jetty:jar:6.1.26:provided [INFO] | | | +- org.mortbay.jetty:jetty-util:jar:6.1.26:provided [INFO] | | | +- com.sun.jersey:jersey-core:jar:1.9:provided [INFO] | | | +- com.sun.jersey:jersey-server:jar:1.9:provided [INFO] | | | | - asm:asm:jar:3.1:provided [INFO] | | | +- commons-daemon:commons-daemon:jar:1.0.13:provided [INFO] | | | +- xmlenc:xmlenc:jar:0.52:provided [INFO] | | | +- xerces:xercesImpl:jar:2.9.1:provided [INFO] | | | | - xml-apis:xml-apis:jar:1.3.04:provided [INFO] | | | - org.apache.htrace:htrace-core4:jar:4.0.1-incubating:provided [INFO] | | +- org.apache.hadoop:hadoop-hdfs:jar:2.8.3:provided [INFO] | | +- org.apache.hadoop:hadoop-common:jar:tests:2.8.3:test [INFO] | | | +- org.mortbay.jetty:jetty-sslengine:jar:6.1.26:provided [INFO] | | | +- javax.servlet.jsp:jsp-api:jar:2.1:provided [INFO] | | | +- com.sun.jersey:jersey-json:jar:1.9:provided [INFO] | | | +- net.java.dev.jets3t:jets3t:jar:0.9.0:provided [INFO] | | | +- commons-configuration:commons-configuration:jar:1.6:provided [INFO] | | | | - commons-beanutils:commons-beanutils-core:jar:1.8.0:provided [INFO] | | | +- org.apache.hadoop:hadoop-auth:jar:2.8.3:provided [INFO] | | | | +- com.nimbusds:nimbus-jose-jwt:jar:3.9:provided [INFO] | | | | | +- net.jcip:jcip-annotations:jar:1.0:provided [INFO] | | | | | - net.minidev:json-smart:jar:1.1.1:provided [INFO] | | | | - org.apache.directory.server:apacheds-kerberos-codec:jar:2.0.0-M15:provided [INFO] | | | | +- org.apache.directory.server:apacheds-i18n:jar:2.0.0-M15:provided [INFO] | | | | +- org.apache.directory.api:api-asn1-api:jar:1.0.0-M20:provided [INFO] | | | | - org.apache.directory.api:api-util:jar:1.0.0-M20:provided [INFO] | | | +- com.jcraft:jsch:jar:0.1.54:provided [INFO] | | | - org.apache.curator:curator-client:jar:2.7.1:provided [INFO] | | +- org.apache.hadoop:hadoop-common:jar:2.8.3:provided [INFO] | | +- org.apache.hadoop:hadoop-client:jar:tests:2.8.3:test [INFO] | | +- org.apache.hadoop:hadoop-mapreduce-client-jobclient:jar:tests:2.8.3:test [INFO] | | | +- org.apache.hadoop:hadoop-mapreduce-client-common:jar:2.8.3:provided [INFO] | | | +- org.apache.hadoop:hadoop-mapreduce-client-shuffle:jar:2.8.3:provided [INFO] | | | - com.google.inject.extensions:guice-servlet:jar:3.0:provided [INFO] | | +- org.apache.hadoop:hadoop-mapreduce-client-jobclient:jar:2.8.3:provided [INFO] | | +- org.apache.hadoop:hadoop-yarn-server-tests:jar:tests:2.8.3:test [INFO] | | | +- org.apache.hadoop:hadoop-yarn-server-common:jar:2.8.3:provided [INFO] | | | +- org.apache.hadoop:hadoop-yarn-server-nodemanager:jar:2.8.3:provided [INFO] | | | | +- org.codehaus.jettison:jettison:jar:1.1:provided [INFO] | | | | +- com.sun.jersey:jersey-client:jar:1.9:provided [INFO] | | | | - com.sun.jersey.contribs:jersey-guice:jar:1.9:provided [INFO] | | | - org.apache.hadoop:hadoop-yarn-server-resourcemanager:jar:2.8.3:test [INFO] | | | +- org.apache.hadoop:hadoop-yarn-server-applicationhistoryservice:jar:2.8.3:test [INFO] | | | | - de.ruedigermoeller:fst:jar:2.50:test [INFO] | | | | - com.cedarsoftware:java-util:jar:1.9.0:test [INFO] | | | | - com.cedarsoftware:json-io:jar:2.5.1:test [INFO] | | | +- org.apache.curator:curator-test:jar:2.7.1:test [INFO] | | | | - org.apache.commons:commons-math:jar:2.2:test [INFO] | | | - org.apache.zookeeper:zookeeper:test-jar:tests:3.4.6:test [INFO] | | +- org.apache.hadoop:hadoop-yarn-server-tests:jar:2.8.3:test [INFO] | | +- org.apache.hadoop:hadoop-yarn-server-web-proxy:jar:tests:2.8.3:test [INFO] | | +- org.apache.hadoop:hadoop-yarn-server-web-proxy:jar:2.8.3:test [INFO] | | - org.apache.hadoop:hadoop-minicluster:jar:2.8.3:test [INFO] | | - org.apache.hadoop:hadoop-mapreduce-client-hs:jar:2.8.3:test [INFO] | +- org.scalatest:scalatest_2.11:jar:3.0.5:test [INFO] | | +- org.scalactic:scalactic_2.11:jar:3.0.5:test [INFO] | | +- org.scala-lang:scala-reflect:jar:2.11.12:provided [INFO] | | - org.scala-lang.modules:scala-xml_2.11:jar:1.0.6:provided [INFO] | +- org.junit.jupiter:junit-jupiter:jar:5.7.1:test [INFO] | | +- org.junit.jupiter:junit-jupiter-api:jar:5.7.1:test [INFO] | | | +- org.apiguardian:apiguardian-api:jar:1.1.0:test [INFO] | | | +- org.opentest4j:opentest4j:jar:1.2.0:test [INFO] | | | - org.junit.platform:junit-platform-commons:jar:1.7.1:test [INFO] | | +- org.junit.jupiter:junit-jupiter-params:jar:5.7.1:test [INFO] | | - org.junit.jupiter:junit-jupiter-engine:jar:5.7.1:test [INFO] | | - org.junit.platform:junit-platform-engine:jar:1.7.1:test [INFO] | +- junit:junit:jar:4.13.2:test [INFO] | - com.fasterxml.jackson.module:jackson-module-scala_2.11:jar:2.12.3:provided [INFO] | - com.fasterxml.jackson.core:jackson-annotations:jar:2.12.3:provided [INFO] +- org.easymock:easymock:jar:4.3:test [INFO] | - org.objenesis:objenesis:jar:3.2:provided [INFO] +- org.powermock:powermock-module-junit4:jar:2.0.9:test [INFO] | +- org.powermock:powermock-module-junit4-common:jar:2.0.9:test [INFO] | | - org.powermock:powermock-reflect:jar:2.0.9:test [INFO] | - org.hamcrest:hamcrest-core:jar:1.3:test [INFO] +- org.powermock:powermock-api-mockito2:jar:2.0.9:test [INFO] | +- org.powermock:powermock-api-support:jar:2.0.9:test [INFO] | - org.mockito:mockito-core:jar:3.9.0:test [INFO] +- org.powermock:powermock-module-junit4-rule-agent:jar:2.0.9:test [INFO] | - org.powermock:powermock-core:jar:2.0.9:test [INFO] | +- org.javassist:javassist:jar:3.27.0-GA:provided [INFO] | +- net.bytebuddy:byte-buddy:jar:1.10.14:test [INFO] | - net.bytebuddy:byte-buddy-agent:jar:1.10.14:test [INFO] +- org.powermock:powermock-module-javaagent:jar:2.0.9:test [INFO] +- org.apache.spark:spark-core_2.11:jar:2.4.5:provided [INFO] | +- com.thoughtworks.paranamer:paranamer:jar:2.8:provided [INFO] | +- org.apache.avro:avro:jar:1.8.2:provided [INFO] | | +- org.codehaus.jackson:jackson-core-asl:jar:1.9.13:provided [INFO] | | +- org.apache.commons:commons-compress:jar:1.8.1:provided [INFO] | | - org.tukaani:xz:jar:1.5:provided [INFO] | +- org.apache.avro:avro-mapred:jar:hadoop2:1.8.2:provided [INFO] | | - org.apache.avro:avro-ipc:jar:1.8.2:provided [INFO] | +- com.twitter:chill_2.11:jar:0.9.3:provided [INFO] | | - com.esotericsoftware:kryo-shaded:jar:4.0.2:provided [INFO] | | - com.esotericsoftware:minlog:jar:1.3.0:provided [INFO] | +- com.twitter:chill-java:jar:0.9.3:provided [INFO] | +- org.apache.xbean:xbean-asm6-shaded:jar:4.8:provided [INFO] | +- org.apache.hadoop:hadoop-client:jar:2.6.5:provided [INFO] | | +- org.apache.hadoop:hadoop-mapreduce-client-app:jar:2.6.5:provided [INFO] | | +- org.apache.hadoop:hadoop-yarn-api:jar:2.6.5:provided [INFO] | | +- org.apache.hadoop:hadoop-mapreduce-client-core:jar:2.6.5:provided [INFO] | | - org.apache.hadoop:hadoop-annotations:jar:2.6.5:provided [INFO] | +- org.apache.spark:spark-launcher_2.11:jar:2.4.5:provided [INFO] | +- org.apache.spark:spark-kvstore_2.11:jar:2.4.5:provided [INFO] | | - org.fusesource.leveldbjni:leveldbjni-all:jar:1.8:provided [INFO] | +- org.apache.spark:spark-network-common_2.11:jar:2.4.5:provided [INFO] | +- org.apache.spark:spark-network-shuffle_2.11:jar:2.4.5:provided [INFO] | +- org.apache.spark:spark-unsafe_2.11:jar:2.4.5:provided [INFO] | +- javax.activation:activation:jar:1.1.1:provided [INFO] | +- org.apache.curator:curator-recipes:jar:2.6.0:provided [INFO] | | - org.apache.curator:curator-framework:jar:2.6.0:provided [INFO] | +- org.apache.zookeeper:zookeeper:jar:3.4.6:provided [INFO] | +- javax.servlet:javax.servlet-api:jar:3.1.0:provided [INFO] | +- org.apache.commons:commons-math3:jar:3.4.1:provided [INFO] | +- org.slf4j:jul-to-slf4j:jar:1.7.16:provided [INFO] | +- org.slf4j:jcl-over-slf4j:jar:1.7.16:provided [INFO] | +- log4j:log4j:jar:1.2.17:compile [INFO] | +- com.ning:compress-lzf:jar:1.0.3:provided [INFO] | +- org.xerial.snappy:snappy-java:jar:1.1.7.3:provided [INFO] | +- org.lz4:lz4-java:jar:1.4.0:provided [INFO] | +- com.github.luben:zstd-jni:jar:1.3.2-2:provided [INFO] | +- org.roaringbitmap:RoaringBitmap:jar:0.7.45:provided [INFO] | | - org.roaringbitmap:shims:jar:0.7.45:provided [INFO] | +- commons-net:commons-net:jar:3.1:provided [INFO] | +- org.scala-lang:scala-library:jar:2.11.12:provided [INFO] | +- org.json4s:json4s-jackson_2.11:jar:3.5.3:provided [INFO] | | - org.json4s:json4s-core_2.11:jar:3.5.3:provided [INFO] | | +- org.json4s:json4s-ast_2.11:jar:3.5.3:provided [INFO] | | - org.json4s:json4s-scalap_2.11:jar:3.5.3:provided [INFO] | +- org.glassfish.jersey.core:jersey-client:jar:2.22.2:provided [INFO] | | +- javax.ws.rs:javax.ws.rs-api:jar:2.0.1:provided [INFO] | | +- org.glassfish.hk2:hk2-api:jar:2.4.0-b34:provided [INFO] | | | +- org.glassfish.hk2:hk2-utils:jar:2.4.0-b34:provided [INFO] | | | - org.glassfish.hk2.external:aopalliance-repackaged:jar:2.4.0-b34:provided [INFO] | | +- org.glassfish.hk2.external:javax.inject:jar:2.4.0-b34:provided [INFO] | | - org.glassfish.hk2:hk2-locator:jar:2.4.0-b34:provided [INFO] | +- org.glassfish.jersey.core:jersey-common:jar:2.22.2:provided [INFO] | | +- org.glassfish.jersey.bundles.repackaged:jersey-guava:jar:2.22.2:provided [INFO] | | - org.glassfish.hk2:osgi-resource-locator:jar:1.0.1:provided [INFO] | +- org.glassfish.jersey.core:jersey-server:jar:2.22.2:provided [INFO] | | +- org.glassfish.jersey.media:jersey-media-jaxb:jar:2.22.2:provided [INFO] | | - javax.validation:validation-api:jar:1.1.0.Final:provided [INFO] | +- org.glassfish.jersey.containers:jersey-container-servlet:jar:2.22.2:provided [INFO] | +- org.glassfish.jersey.containers:jersey-container-servlet-core:jar:2.22.2:provided [INFO] | +- io.netty:netty-all:jar:4.1.42.Final:provided [INFO] | +- io.netty:netty:jar:3.9.9.Final:provided [INFO] | +- com.clearspring.analytics:stream:jar:2.7.0:provided [INFO] | +- io.dropwizard.metrics:metrics-core:jar:3.1.5:provided [INFO] | +- io.dropwizard.metrics:metrics-jvm:jar:3.1.5:provided [INFO] | +- io.dropwizard.metrics:metrics-json:jar:3.1.5:provided [INFO] | +- io.dropwizard.metrics:metrics-graphite:jar:3.1.5:provided [INFO] | +- com.fasterxml.jackson.core:jackson-databind:jar:2.12.3:provided [INFO] | +- org.apache.ivy:ivy:jar:2.4.0:provided [INFO] | +- net.razorvine:pyrolite:jar:4.13:provided [INFO] | +- net.sf.py4j:py4j:jar:0.10.7:provided [INFO] | +- org.apache.spark:spark-tags_2.11:jar:2.4.5:provided [INFO] | +- org.apache.commons:commons-crypto:jar:1.0.0:provided [INFO] | - org.spark-project.spark:unused:jar:1.0.0:provided [INFO] +- org.apache.spark:spark-sql_2.11:jar:2.4.5:provided [INFO] | +- com.univocity:univocity-parsers:jar:2.7.3:provided [INFO] | +- org.apache.spark:spark-sketch_2.11:jar:2.4.5:provided [INFO] | +- org.apache.spark:spark-catalyst_2.11:jar:2.4.5:provided [INFO] | | +- org.scala-lang.modules:scala-parser-combinators_2.11:jar:1.1.0:provided [INFO] | | +- org.codehaus.janino:janino:jar:3.0.9:provided [INFO] | | +- org.codehaus.janino:commons-compiler:jar:3.0.9:provided [INFO] | | - org.antlr:antlr4-runtime:jar:4.7:provided [INFO] | +- org.apache.orc:orc-core:jar:nohive:1.5.5:provided [INFO] | | +- org.apache.orc:orc-shims:jar:1.5.5:provided [INFO] | | - io.airlift:aircompressor:jar:0.10:provided [INFO] | +- org.apache.orc:orc-mapreduce:jar:nohive:1.5.5:provided [INFO] | +- org.apache.parquet:parquet-column:jar:1.10.1:provided [INFO] | | +- org.apache.parquet:parquet-common:jar:1.10.1:provided [INFO] | | - org.apache.parquet:parquet-encoding:jar:1.10.1:provided [INFO] | +- org.apache.parquet:parquet-hadoop:jar:1.10.1:provided [INFO] | | +- org.apache.parquet:parquet-format:jar:2.4.0:provided [INFO] | | - org.apache.parquet:parquet-jackson:jar:1.10.1:provided [INFO] | - org.apache.arrow:arrow-vector:jar:0.10.0:provided [INFO] | +- org.apache.arrow:arrow-format:jar:0.10.0:provided [INFO] | +- org.apache.arrow:arrow-memory:jar:0.10.0:provided [INFO] | +- com.carrotsearch:hppc:jar:0.7.2:provided [INFO] | - com.vlkan:flatbuffers:jar:1.2.0-3f79e055:provided [INFO] +- org.apache.spark:spark-hive_2.11:jar:2.4.5:provided [INFO] | +- com.twitter:parquet-hadoop-bundle:jar:1.6.0:provided [INFO] | +- org.spark-project.hive:hive-exec:jar:1.2.1.spark2:provided [INFO] | | +- commons-io:commons-io:jar:2.8.0:provided [INFO] | | +- javolution:javolution:jar:5.5.1:provided [INFO] | | +- log4j:apache-log4j-extras:jar:1.2.17:provided [INFO] | | +- org.antlr:antlr-runtime:jar:3.4:provided [INFO] | | | - org.antlr:stringtemplate:jar:3.2.1:provided [INFO] | | +- org.antlr:ST4:jar:4.0.4:provided [INFO] | | +- com.googlecode.javaewah:JavaEWAH:jar:0.3.2:provided [INFO] | | +- org.iq80.snappy:snappy:jar:0.2:provided [INFO] | | +- stax:stax-api:jar:1.0.1:provided [INFO] | | - net.sf.opencsv:opencsv:jar:2.3:provided [INFO] | +- org.spark-project.hive:hive-metastore:jar:1.2.1.spark2:provided [INFO] | | +- com.jolbox:bonecp:jar:0.8.0.RELEASE:provided [INFO] | | +- commons-cli:commons-cli:jar:1.4:provided [INFO] | | +- org.datanucleus:datanucleus-api-jdo:jar:3.2.6:provided [INFO] | | +- org.datanucleus:datanucleus-rdbms:jar:3.2.9:provided [INFO] | | +- commons-pool:commons-pool:jar:1.5.4:provided [INFO] | | +- commons-dbcp:commons-dbcp:jar:1.4:provided [INFO] | | - javax.jdo:jdo-api:jar:3.0.1:provided [INFO] | | - javax.transaction:jta:jar:1.1:provided [INFO] | +- commons-httpclient:commons-httpclient:jar:3.1:provided [INFO] | +- org.apache.calcite:calcite-avatica:jar:1.2.0-incubating:provided [INFO] | +- org.apache.calcite:calcite-core:jar:1.2.0-incubating:provided [INFO] | | +- org.apache.calcite:calcite-linq4j:jar:1.2.0-incubating:provided [INFO] | | - net.hydromatic:eigenbase-properties:jar:1.1.5:provided [INFO] | +- org.codehaus.jackson:jackson-mapper-asl:jar:1.9.13:provided [INFO] | +- joda-time:joda-time:jar:2.9.3:provided [INFO] | +- org.jodd:jodd-core:jar:3.5.2:provided [INFO] | +- org.datanucleus:datanucleus-core:jar:3.2.10:provided [INFO] | +- org.apache.thrift:libthrift:jar:0.9.3:provided [INFO] | +- org.apache.thrift:libfb303:jar:0.9.3:provided [INFO] | - org.apache.derby:derby:jar:10.12.1.1:provided [INFO] - org.slf4j:slf4j-log4j12:jar:1.7.30:compile

jradcliff commented 11 months ago

I'm not sure why, but your dependency configuration is pulling in some very old versions of the auth libraries:

com.google.auth:google-auth-library-oauth2-http:jar:0.25.3:compile
com.google.auth:google-auth-library-credentials:jar:0.25.3:compile

In contrast, I just checked the dependencies for google-ads 28.0.0, and they show as the following:

com.google.auth:google-auth-library-credentials:1.19.0
com.google.auth:google-auth-library-oauth2-http:1.19.0
harmonychan commented 11 months ago

I have tried many different dependencies combinations of gax and guava, but none seemed to work as of yet. I will continue to investigate and post the solution if found. Please let me know if you have any thoughts or possible ways of showcasing why the old versions of the auth libraries are being pulled.

jradcliff commented 11 months ago

Have you tried directly declaring dependencies on the 1.19.0 version of both those libraries in your pom? That should force Maven to use the version you declared.

harmonychan commented 11 months ago

In my pom file, the auth libraries are managed by using com.google.cloud, bom-libraries, or:

        <dependencies>
            <dependency>
                <groupId>com.google.cloud</groupId>
                <artifactId>libraries-bom</artifactId>
                <version>26.26.0</version>
                <type>pom</type>
                <scope>import</scope>
            </dependency>
        </dependencies>
    </dependencyManagement>

Previously it was 20.1.0 which caused both auth libraries to be 0.25.3. I have just updated com-google-cloud to be 26.26.0. However, I still encounter the same error as before. Here is my dependency tree now.

[INFO] com.companyname data:internalgoogle:jar:1.11.1-SNAPSHOT [INFO] +- com.companyname.data:internal-core:jar:1.11.1-SNAPSHOT:compile [INFO] +- com.google.guava:guava:jar:30.1.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.code.findbugs:jsr305:jar:3.0.2:compile [INFO] |  +- org.checkerframework:checker-qual:jar:3.8.0:compile [INFO] |  +- com.google.errorprone:error_prone_annotations:jar:2.5.1:compile [INFO] |  - com.google.j2objc:j2objc-annotations:jar:1.3:compile [INFO] +- com.google.apis:google-api-services-searchconsole:jar:v1-rev20211026-1.32.1:compile [INFO] +- com.google.api-ads:google-ads:jar:28.0.0:compile [INFO] |  +- io.grpc:grpc-stub:jar:1.58.0:compile [INFO] |  +- io.grpc:grpc-protobuf:jar:1.58.0:compile [INFO] |  |  - io.grpc:grpc-protobuf-lite:jar:1.58.0:compile [INFO] |  +- com.google.auth:google-auth-library-oauth2-http:jar:1.20.0:compile [INFO] |  +- com.google.auth:google-auth-library-credentials:jar:1.20.0:compile [INFO] |  +- com.google.api-ads:google-ads-codegen:jar:28.0.0:compile [INFO] |  |  +- com.google.api-ads:google-ads-stubs-lib:jar:28.0.0:compile [INFO] |  |  +- com.google.api-ads:google-ads-stubs-v13:jar:28.0.0:compile [INFO] |  |  +- com.google.api-ads:google-ads-stubs-v14:jar:28.0.0:compile [INFO] |  |  +- com.google.api-ads:google-ads-stubs-v15:jar:28.0.0:compile [INFO] |  |  - com.squareup:javapoet:jar:1.11.1:runtime [INFO] |  +- com.google.protobuf:protobuf-java-util:jar:3.24.4:compile [INFO] |  +- com.google.auto.service:auto-service:jar:1.0.1:runtime [INFO] |  |  +- com.google.auto.service:auto-service-annotations:jar:1.0.1:runtime [INFO] |  |  - com.google.auto:auto-common:jar:1.2:runtime [INFO] |  +- javax.annotation:javax.annotation-api:jar:1.3.2:compile [INFO] |  - com.google.auto.value:auto-value-annotations:jar:1.10.4:compile [INFO] +- com.google.protobuf:protobuf-java:jar:3.23.3:compile [INFO] +- com.google.api:gax-grpc:jar:2.12.2:compile [INFO] |  +- com.google.api:api-common:jar:2.19.0:compile [INFO] |  +- com.google.api.grpc:proto-google-common-protos:jar:2.27.0:compile [INFO] |  +- io.grpc:grpc-api:jar:1.58.0:compile [INFO] |  +- org.threeten:threetenbp:jar:1.5.0:compile [INFO] |  +- io.grpc:grpc-alts:jar:1.58.0:runtime [INFO] |  |  +- io.grpc:grpc-grpclb:jar:1.58.0:runtime [INFO] |  |  - org.conscrypt:conscrypt-openjdk-uber:jar:2.5.2:runtime [INFO] |  +- io.grpc:grpc-auth:jar:1.58.0:runtime [INFO] |  +- io.grpc:grpc-netty-shaded:jar:1.58.0:runtime [INFO] |  |  +- io.perfmark:perfmark-api:jar:0.26.0:runtime [INFO] |  |  - io.grpc:grpc-core:jar:1.58.0:runtime [INFO] |  |     +- com.google.android:annotations:jar:4.1.1.4:runtime [INFO] |  |     +- org.codehaus.mojo:animal-sniffer-annotations:jar:1.23:runtime [INFO] |  |     - io.grpc:grpc-util:jar:1.58.0:runtime [INFO] |  - io.grpc:grpc-xds:jar:1.58.0:runtime [INFO] |     +- io.opencensus:opencensus-proto:jar:0.2.0:runtime [INFO] |     +- io.grpc:grpc-services:jar:1.58.0:runtime [INFO] |     - com.google.re2j:re2j:jar:1.7:runtime [INFO] +- com.google.api:gax:jar:2.12.2:compile [INFO] |  - io.opencensus:opencensus-api:jar:0.28.0:compile [INFO] +- org.slf4j:slf4j-api:jar:1.7.30:compile [INFO] +- com.opencsv:opencsv:jar:5.4:compile [INFO] |  +- org.apache.commons:commons-lang3:jar:3.12.0:compile [INFO] |  +- org.apache.commons:commons-text:jar:1.9:compile [INFO] |  - commons-beanutils:commons-beanutils:jar:1.9.4:compile [INFO] +- org.apache.velocity:velocity:jar:1.7:compile [INFO] |  +- commons-collections:commons-collections:jar:3.2.1:compile [INFO] |  - commons-lang:commons-lang:jar:2.4:compile [INFO] +- org.apache.velocity:velocity-tools:jar:2.0:compile [INFO] |  +- commons-digester:commons-digester:jar:1.8:compile [INFO] |  +- commons-chain:commons-chain:jar:1.1:compile [INFO] |  +- commons-logging:commons-logging:jar:1.1:compile [INFO] |  |  - javax.servlet:servlet-api:jar:2.3:compile [INFO] |  +- commons-validator:commons-validator:jar:1.3.1:compile [INFO] |  +- dom4j:dom4j:jar:1.1:compile [INFO] |  +- oro:oro:jar:2.0.8:compile [INFO] |  +- sslext:sslext:jar:1.2-0:compile [INFO] |  +- org.apache.struts:struts-core:jar:1.3.8:compile [INFO] |  |  - antlr:antlr:jar:2.7.2:compile [INFO] |  +- org.apache.struts:struts-taglib:jar:1.3.8:compile [INFO] |  - org.apache.struts:struts-tiles:jar:1.3.8:compile [INFO] +- com.google.cloud:google-cloud-bigquery:jar:2.10.0:compile [INFO] |  +- com.google.cloud:google-cloud-core:jar:2.26.0:compile [INFO] |  +- com.google.api.grpc:proto-google-iam-v1:jar:1.22.0:compile [INFO] |  +- com.google.http-client:google-http-client-gson:jar:1.43.3:compile [INFO] |  +- com.google.cloud:google-cloud-core-http:jar:2.26.0:compile [INFO] |  +- com.google.oauth-client:google-oauth-client:jar:1.34.1:compile [INFO] |  +- com.google.http-client:google-http-client-apache-v2:jar:1.43.3:compile [INFO] |  +- com.google.http-client:google-http-client-appengine:jar:1.43.3:compile [INFO] |  +- com.google.api:gax-httpjson:jar:2.36.0:compile [INFO] |  +- io.grpc:grpc-context:jar:1.58.0:compile [INFO] |  +- io.opencensus:opencensus-contrib-http-util:jar:0.31.0:compile [INFO] |  +- com.google.http-client:google-http-client-jackson2:jar:1.43.3:compile [INFO] |  +- com.fasterxml.jackson.core:jackson-core:jar:2.12.3:compile [INFO] |  +- com.google.http-client:google-http-client:jar:1.43.3:compile [INFO] |  +- org.apache.httpcomponents:httpclient:jar:4.5.13:compile [INFO] |  +- commons-codec:commons-codec:jar:1.15:compile [INFO] |  +- org.apache.httpcomponents:httpcore:jar:4.4.14:compile [INFO] |  +- org.checkerframework:checker-compat-qual:jar:2.5.5:compile [INFO] |  +- com.google.apis:google-api-services-bigquery:jar:v2-rev20220307-1.32.1:compile [INFO] |  +- com.google.code.gson:gson:jar:2.10.1:compile [INFO] |  - org.threeten:threeten-extra:jar:1.7.0:compile [INFO] +- com.google.api-client:google-api-client:jar:1.31.4:compile [INFO] +- com.google.cloud:google-cloud-nio:jar:0.127.6:compile [INFO] |  +- com.google.apis:google-api-services-storage:jar:v1-rev20231012-2.0.0:compile [INFO] |  - javax.inject:javax.inject:jar:1:compile [INFO] +- com.google.cloud:google-cloud-storage:jar:2.5.0:compile [INFO] +- com.google.apis:google-api-services-dfareporting:jar:v4-rev20220920-2.0.0:compile [INFO] +- org.apache.commons:commons-collections4:jar:4.4:compile [INFO] +- org.projectlombok:lombok:jar:1.18.20:provided [INFO] +- com.companyname.data:data-commons-spark-tests:jar:1.3.1:test [INFO] |  +- com.holdenkarau:spark-testing-base_2.11:jar:2.4.5_0.14.0:test [INFO] |  |  +- org.apache.spark:spark-streaming_2.11:jar:2.4.5:test [INFO] |  |  +- org.apache.spark:spark-yarn_2.11:jar:2.4.5:test [INFO] |  |  |  +- org.apache.hadoop:hadoop-yarn-common:jar:2.6.5:provided [INFO] |  |  |  |  +- javax.xml.bind:jaxb-api:jar:2.2.2:provided [INFO] |  |  |  |  |  - javax.xml.stream:stax-api:jar:1.0-2:provided [INFO] |  |  |  |  +- org.codehaus.jackson:jackson-jaxrs:jar:1.9.13:provided [INFO] |  |  |  |  +- org.codehaus.jackson:jackson-xc:jar:1.9.13:provided [INFO] |  |  |  |  - com.google.inject:guice:jar:3.0:provided [INFO] |  |  |  |     - aopalliance:aopalliance:jar:1.0:provided [INFO] |  |  |  - org.apache.hadoop:hadoop-yarn-client:jar:2.6.5:provided [INFO] |  |  +- org.apache.spark:spark-mllib_2.11:jar:2.4.5:test [INFO] |  |  |  +- org.apache.spark:spark-graphx_2.11:jar:2.4.5:test [INFO] |  |  |  |  +- com.github.fommil.netlib:core:jar:1.1.2:test [INFO] |  |  |  |  - net.sourceforge.f2j:arpack_combined_all:jar:0.1:test [INFO] |  |  |  +- org.apache.spark:spark-mllib-local_2.11:jar:2.4.5:test [INFO] |  |  |  - org.scalanlp:breeze_2.11:jar:0.13.2:test [INFO] |  |  |     +- org.scalanlp:breeze-macros_2.11:jar:0.13.2:test [INFO] |  |  |     +- com.github.rwl:jtransforms:jar:2.4.0:test [INFO] |  |  |     +- org.spire-math:spire_2.11:jar:0.13.0:test [INFO] |  |  |     |  +- org.spire-math:spire-macros_2.11:jar:0.13.0:test [INFO] |  |  |     |  - org.typelevel:machinist_2.11:jar:0.6.1:test [INFO] |  |  |     - com.chuusai:shapeless_2.11:jar:2.3.2:test [INFO] |  |  |        - org.typelevel:macro-compat_2.11:jar:1.1.1:test [INFO] |  |  +- io.github.nicolasstucki:multisets_2.11:jar:0.4:test [INFO] |  |  +- org.scalacheck:scalacheck_2.11:jar:1.14.0:test [INFO] |  |  |  - org.scala-sbt:test-interface:jar:1.0:test [INFO] |  |  +- org.eclipse.jetty:jetty-util:jar:9.3.11.v20160721:test [INFO] |  |  +- org.apache.hadoop:hadoop-hdfs:jar:tests:2.8.3:test [INFO] |  |  |  +- org.apache.hadoop:hadoop-hdfs-client:jar:2.8.3:provided [INFO] |  |  |  |  - com.squareup.okhttp:okhttp:jar:2.4.0:provided [INFO] |  |  |  |     - com.squareup.okio:okio:jar:1.4.0:provided [INFO] |  |  |  +- org.mortbay.jetty:jetty:jar:6.1.26:provided [INFO] |  |  |  +- org.mortbay.jetty:jetty-util:jar:6.1.26:provided [INFO] |  |  |  +- com.sun.jersey:jersey-core:jar:1.9:provided [INFO] |  |  |  +- com.sun.jersey:jersey-server:jar:1.9:provided [INFO] |  |  |  |  - asm:asm:jar:3.1:provided [INFO] |  |  |  +- commons-daemon:commons-daemon:jar:1.0.13:provided [INFO] |  |  |  +- xmlenc:xmlenc:jar:0.52:provided [INFO] |  |  |  +- xerces:xercesImpl:jar:2.9.1:provided [INFO] |  |  |  |  - xml-apis:xml-apis:jar:1.3.04:provided [INFO] |  |  |  - org.apache.htrace:htrace-core4:jar:4.0.1-incubating:provided [INFO] |  |  +- org.apache.hadoop:hadoop-hdfs:jar:2.8.3:provided [INFO] |  |  +- org.apache.hadoop:hadoop-common:jar:tests:2.8.3:test [INFO] |  |  |  +- org.mortbay.jetty:jetty-sslengine:jar:6.1.26:provided [INFO] |  |  |  +- javax.servlet.jsp:jsp-api:jar:2.1:provided [INFO] |  |  |  +- com.sun.jersey:jersey-json:jar:1.9:provided [INFO] |  |  |  +- net.java.dev.jets3t:jets3t:jar:0.9.0:provided [INFO] |  |  |  +- commons-configuration:commons-configuration:jar:1.6:provided [INFO] |  |  |  |  - commons-beanutils:commons-beanutils-core:jar:1.8.0:provided [INFO] |  |  |  +- org.apache.hadoop:hadoop-auth:jar:2.8.3:provided [INFO] |  |  |  |  +- com.nimbusds:nimbus-jose-jwt:jar:3.9:provided [INFO] |  |  |  |  |  +- net.jcip:jcip-annotations:jar:1.0:provided [INFO] |  |  |  |  |  - net.minidev:json-smart:jar:1.1.1:provided [INFO] |  |  |  |  - org.apache.directory.server:apacheds-kerberos-codec:jar:2.0.0-M15:provided [INFO] |  |  |  |     +- org.apache.directory.server:apacheds-i18n:jar:2.0.0-M15:provided [INFO] |  |  |  |     +- org.apache.directory.api:api-asn1-api:jar:1.0.0-M20:provided [INFO] |  |  |  |     - org.apache.directory.api:api-util:jar:1.0.0-M20:provided [INFO] |  |  |  +- com.jcraft:jsch:jar:0.1.54:provided [INFO] |  |  |  - org.apache.curator:curator-client:jar:2.7.1:provided [INFO] |  |  +- org.apache.hadoop:hadoop-common:jar:2.8.3:provided [INFO] |  |  +- org.apache.hadoop:hadoop-client:jar:tests:2.8.3:test [INFO] |  |  +- org.apache.hadoop:hadoop-mapreduce-client-jobclient:jar:tests:2.8.3:test [INFO] |  |  |  +- org.apache.hadoop:hadoop-mapreduce-client-common:jar:2.8.3:provided [INFO] |  |  |  +- org.apache.hadoop:hadoop-mapreduce-client-shuffle:jar:2.8.3:provided [INFO] |  |  |  - com.google.inject.extensions:guice-servlet:jar:3.0:provided [INFO] |  |  +- org.apache.hadoop:hadoop-mapreduce-client-jobclient:jar:2.8.3:provided [INFO] |  |  +- org.apache.hadoop:hadoop-yarn-server-tests:jar:tests:2.8.3:test [INFO] |  |  |  +- org.apache.hadoop:hadoop-yarn-server-common:jar:2.8.3:provided [INFO] |  |  |  +- org.apache.hadoop:hadoop-yarn-server-nodemanager:jar:2.8.3:provided [INFO] |  |  |  |  +- org.codehaus.jettison:jettison:jar:1.1:provided [INFO] |  |  |  |  +- com.sun.jersey:jersey-client:jar:1.9:provided [INFO] |  |  |  |  - com.sun.jersey.contribs:jersey-guice:jar:1.9:provided [INFO] |  |  |  - org.apache.hadoop:hadoop-yarn-server-resourcemanager:jar:2.8.3:test [INFO] |  |  |     +- org.apache.hadoop:hadoop-yarn-server-applicationhistoryservice:jar:2.8.3:test [INFO] |  |  |     |  - de.ruedigermoeller:fst:jar:2.50:test [INFO] |  |  |     |     - com.cedarsoftware:java-util:jar:1.9.0:test [INFO] |  |  |     |        - com.cedarsoftware:json-io:jar:2.5.1:test [INFO] |  |  |     +- org.apache.curator:curator-test:jar:2.7.1:test [INFO] |  |  |     |  - org.apache.commons:commons-math:jar:2.2:test [INFO] |  |  |     - org.apache.zookeeper:zookeeper:test-jar:tests:3.4.6:test [INFO] |  |  +- org.apache.hadoop:hadoop-yarn-server-tests:jar:2.8.3:test [INFO] |  |  +- org.apache.hadoop:hadoop-yarn-server-web-proxy:jar:tests:2.8.3:test [INFO] |  |  +- org.apache.hadoop:hadoop-yarn-server-web-proxy:jar:2.8.3:test [INFO] |  |  - org.apache.hadoop:hadoop-minicluster:jar:2.8.3:test [INFO] |  |     - org.apache.hadoop:hadoop-mapreduce-client-hs:jar:2.8.3:test [INFO] |  +- org.scalatest:scalatest_2.11:jar:3.0.5:test [INFO] |  |  +- org.scalactic:scalactic_2.11:jar:3.0.5:test [INFO] |  |  +- org.scala-lang:scala-reflect:jar:2.11.12:provided [INFO] |  |  - org.scala-lang.modules:scala-xml_2.11:jar:1.0.6:provided [INFO] |  +- org.junit.jupiter:junit-jupiter:jar:5.7.1:test [INFO] |  |  +- org.junit.jupiter:junit-jupiter-api:jar:5.7.1:test [INFO] |  |  |  +- org.apiguardian:apiguardian-api:jar:1.1.0:test [INFO] |  |  |  +- org.opentest4j:opentest4j:jar:1.2.0:test [INFO] |  |  |  - org.junit.platform:junit-platform-commons:jar:1.7.1:test [INFO] |  |  +- org.junit.jupiter:junit-jupiter-params:jar:5.7.1:test [INFO] |  |  - org.junit.jupiter:junit-jupiter-engine:jar:5.7.1:test [INFO] |  |     - org.junit.platform:junit-platform-engine:jar:1.7.1:test [INFO] |  +- junit:junit:jar:4.13.2:test [INFO] |  - com.fasterxml.jackson.module:jackson-module-scala_2.11:jar:2.12.3:provided [INFO] |     - com.fasterxml.jackson.core:jackson-annotations:jar:2.12.3:provided [INFO] +- org.easymock:easymock:jar:4.3:test [INFO] |  - org.objenesis:objenesis:jar:3.2:provided [INFO] +- org.powermock:powermock-module-junit4:jar:2.0.9:test [INFO] |  +- org.powermock:powermock-module-junit4-common:jar:2.0.9:test [INFO] |  |  - org.powermock:powermock-reflect:jar:2.0.9:test [INFO] |  - org.hamcrest:hamcrest-core:jar:1.3:test [INFO] +- org.powermock:powermock-api-mockito2:jar:2.0.9:test [INFO] |  +- org.powermock:powermock-api-support:jar:2.0.9:test [INFO] |  - org.mockito:mockito-core:jar:3.9.0:test [INFO] +- org.powermock:powermock-module-junit4-rule-agent:jar:2.0.9:test [INFO] |  - org.powermock:powermock-core:jar:2.0.9:test [INFO] |     +- org.javassist:javassist:jar:3.27.0-GA:provided [INFO] |     +- net.bytebuddy:byte-buddy:jar:1.10.14:test [INFO] |     - net.bytebuddy:byte-buddy-agent:jar:1.10.14:test [INFO] +- org.powermock:powermock-module-javaagent:jar:2.0.9:test [INFO] +- org.apache.spark:spark-core_2.11:jar:2.4.5:provided [INFO] |  +- com.thoughtworks.paranamer:paranamer:jar:2.8:provided [INFO] |  +- org.apache.avro:avro:jar:1.8.2:provided [INFO] |  |  +- org.codehaus.jackson:jackson-core-asl:jar:1.9.13:provided [INFO] |  |  +- org.apache.commons:commons-compress:jar:1.8.1:provided [INFO] |  |  - org.tukaani:xz:jar:1.5:provided [INFO] |  +- org.apache.avro:avro-mapred:jar:hadoop2:1.8.2:provided [INFO] |  |  - org.apache.avro:avro-ipc:jar:1.8.2:provided [INFO] |  +- com.twitter:chill_2.11:jar:0.9.3:provided [INFO] |  |  - com.esotericsoftware:kryo-shaded:jar:4.0.2:provided [INFO] |  |     - com.esotericsoftware:minlog:jar:1.3.0:provided [INFO] |  +- com.twitter:chill-java:jar:0.9.3:provided [INFO] |  +- org.apache.xbean:xbean-asm6-shaded:jar:4.8:provided [INFO] |  +- org.apache.hadoop:hadoop-client:jar:2.6.5:provided [INFO] |  |  +- org.apache.hadoop:hadoop-mapreduce-client-app:jar:2.6.5:provided [INFO] |  |  +- org.apache.hadoop:hadoop-yarn-api:jar:2.6.5:provided [INFO] |  |  +- org.apache.hadoop:hadoop-mapreduce-client-core:jar:2.6.5:provided [INFO] |  |  - org.apache.hadoop:hadoop-annotations:jar:2.6.5:provided [INFO] |  +- org.apache.spark:spark-launcher_2.11:jar:2.4.5:provided [INFO] |  +- org.apache.spark:spark-kvstore_2.11:jar:2.4.5:provided [INFO] |  |  - org.fusesource.leveldbjni:leveldbjni-all:jar:1.8:provided [INFO] |  +- org.apache.spark:spark-network-common_2.11:jar:2.4.5:provided [INFO] |  +- org.apache.spark:spark-network-shuffle_2.11:jar:2.4.5:provided [INFO] |  +- org.apache.spark:spark-unsafe_2.11:jar:2.4.5:provided [INFO] |  +- javax.activation:activation:jar:1.1.1:provided [INFO] |  +- org.apache.curator:curator-recipes:jar:2.6.0:provided [INFO] |  |  - org.apache.curator:curator-framework:jar:2.6.0:provided [INFO] |  +- org.apache.zookeeper:zookeeper:jar:3.4.6:provided [INFO] |  +- javax.servlet:javax.servlet-api:jar:3.1.0:provided [INFO] |  +- org.apache.commons:commons-math3:jar:3.4.1:provided [INFO] |  +- org.slf4j:jul-to-slf4j:jar:1.7.16:provided [INFO] |  +- org.slf4j:jcl-over-slf4j:jar:1.7.16:provided [INFO] |  +- log4j:log4j:jar:1.2.17:compile [INFO] |  +- com.ning:compress-lzf:jar:1.0.3:provided [INFO] |  +- org.xerial.snappy:snappy-java:jar:1.1.7.3:provided [INFO] |  +- org.lz4:lz4-java:jar:1.4.0:provided [INFO] |  +- com.github.luben:zstd-jni:jar:1.3.2-2:provided [INFO] |  +- org.roaringbitmap:RoaringBitmap:jar:0.7.45:provided [INFO] |  |  - org.roaringbitmap:shims:jar:0.7.45:provided [INFO] |  +- commons-net:commons-net:jar:3.1:provided [INFO] |  +- org.scala-lang:scala-library:jar:2.11.12:provided [INFO] |  +- org.json4s:json4s-jackson_2.11:jar:3.5.3:provided [INFO] |  |  - org.json4s:json4s-core_2.11:jar:3.5.3:provided [INFO] |  |     +- org.json4s:json4s-ast_2.11:jar:3.5.3:provided [INFO] |  |     - org.json4s:json4s-scalap_2.11:jar:3.5.3:provided [INFO] |  +- org.glassfish.jersey.core:jersey-client:jar:2.22.2:provided [INFO] |  |  +- javax.ws.rs:javax.ws.rs-api:jar:2.0.1:provided [INFO] |  |  +- org.glassfish.hk2:hk2-api:jar:2.4.0-b34:provided [INFO] |  |  |  +- org.glassfish.hk2:hk2-utils:jar:2.4.0-b34:provided [INFO] |  |  |  - org.glassfish.hk2.external:aopalliance-repackaged:jar:2.4.0-b34:provided [INFO] |  |  +- org.glassfish.hk2.external:javax.inject:jar:2.4.0-b34:provided [INFO] |  |  - org.glassfish.hk2:hk2-locator:jar:2.4.0-b34:provided [INFO] |  +- org.glassfish.jersey.core:jersey-common:jar:2.22.2:provided [INFO] |  |  +- org.glassfish.jersey.bundles.repackaged:jersey-guava:jar:2.22.2:provided [INFO] |  |  - org.glassfish.hk2:osgi-resource-locator:jar:1.0.1:provided [INFO] |  +- org.glassfish.jersey.core:jersey-server:jar:2.22.2:provided [INFO] |  |  +- org.glassfish.jersey.media:jersey-media-jaxb:jar:2.22.2:provided [INFO] |  |  - javax.validation:validation-api:jar:1.1.0.Final:provided [INFO] |  +- org.glassfish.jersey.containers:jersey-container-servlet:jar:2.22.2:provided [INFO] |  +- org.glassfish.jersey.containers:jersey-container-servlet-core:jar:2.22.2:provided [INFO] |  +- io.netty:netty-all:jar:4.1.42.Final:provided [INFO] |  +- io.netty:netty:jar:3.9.9.Final:provided [INFO] |  +- com.clearspring.analytics:stream:jar:2.7.0:provided [INFO] |  +- io.dropwizard.metrics:metrics-core:jar:3.1.5:provided [INFO] |  +- io.dropwizard.metrics:metrics-jvm:jar:3.1.5:provided [INFO] |  +- io.dropwizard.metrics:metrics-json:jar:3.1.5:provided [INFO] |  +- io.dropwizard.metrics:metrics-graphite:jar:3.1.5:provided [INFO] |  +- com.fasterxml.jackson.core:jackson-databind:jar:2.12.3:provided [INFO] |  +- org.apache.ivy:ivy:jar:2.4.0:provided [INFO] |  +- net.razorvine:pyrolite:jar:4.13:provided [INFO] |  +- net.sf.py4j:py4j:jar:0.10.7:provided [INFO] |  +- org.apache.spark:spark-tags_2.11:jar:2.4.5:provided [INFO] |  +- org.apache.commons:commons-crypto:jar:1.0.0:provided [INFO] |  - org.spark-project.spark:unused:jar:1.0.0:provided [INFO] +- org.apache.spark:spark-sql_2.11:jar:2.4.5:provided [INFO] |  +- com.univocity:univocity-parsers:jar:2.7.3:provided [INFO] |  +- org.apache.spark:spark-sketch_2.11:jar:2.4.5:provided [INFO] |  +- org.apache.spark:spark-catalyst_2.11:jar:2.4.5:provided [INFO] |  |  +- org.scala-lang.modules:scala-parser-combinators_2.11:jar:1.1.0:provided [INFO] |  |  +- org.codehaus.janino:janino:jar:3.0.9:provided [INFO] |  |  +- org.codehaus.janino:commons-compiler:jar:3.0.9:provided [INFO] |  |  - org.antlr:antlr4-runtime:jar:4.7:provided [INFO] |  +- org.apache.orc:orc-core:jar:nohive:1.5.5:provided [INFO] |  |  +- org.apache.orc:orc-shims:jar:1.5.5:provided [INFO] |  |  - io.airlift:aircompressor:jar:0.10:provided [INFO] |  +- org.apache.orc:orc-mapreduce:jar:nohive:1.5.5:provided [INFO] |  +- org.apache.parquet:parquet-column:jar:1.10.1:provided [INFO] |  |  +- org.apache.parquet:parquet-common:jar:1.10.1:provided [INFO] |  |  - org.apache.parquet:parquet-encoding:jar:1.10.1:provided [INFO] |  +- org.apache.parquet:parquet-hadoop:jar:1.10.1:provided [INFO] |  |  +- org.apache.parquet:parquet-format:jar:2.4.0:provided [INFO] |  |  - org.apache.parquet:parquet-jackson:jar:1.10.1:provided [INFO] |  - org.apache.arrow:arrow-vector:jar:0.10.0:provided [INFO] |     +- org.apache.arrow:arrow-format:jar:0.10.0:provided [INFO] |     +- org.apache.arrow:arrow-memory:jar:0.10.0:provided [INFO] |     +- com.carrotsearch:hppc:jar:0.7.2:provided [INFO] |     - com.vlkan:flatbuffers:jar:1.2.0-3f79e055:provided [INFO] +- org.apache.spark:spark-hive_2.11:jar:2.4.5:provided [INFO] |  +- com.twitter:parquet-hadoop-bundle:jar:1.6.0:provided [INFO] |  +- org.spark-project.hive:hive-exec:jar:1.2.1.spark2:provided [INFO] |  |  +- commons-io:commons-io:jar:2.8.0:provided [INFO] |  |  +- javolution:javolution:jar:5.5.1:provided [INFO] |  |  +- log4j:apache-log4j-extras:jar:1.2.17:provided [INFO] |  |  +- org.antlr:antlr-runtime:jar:3.4:provided [INFO] |  |  |  - org.antlr:stringtemplate:jar:3.2.1:provided [INFO] |  |  +- org.antlr:ST4:jar:4.0.4:provided [INFO] |  |  +- com.googlecode.javaewah:JavaEWAH:jar:0.3.2:provided [INFO] |  |  +- org.iq80.snappy:snappy:jar:0.2:provided [INFO] |  |  +- stax:stax-api:jar:1.0.1:provided [INFO] |  |  - net.sf.opencsv:opencsv:jar:2.3:provided [INFO] |  +- org.spark-project.hive:hive-metastore:jar:1.2.1.spark2:provided [INFO] |  |  +- com.jolbox:bonecp:jar:0.8.0.RELEASE:provided [INFO] |  |  +- commons-cli:commons-cli:jar:1.4:provided [INFO] |  |  +- org.datanucleus:datanucleus-api-jdo:jar:3.2.6:provided [INFO] |  |  +- org.datanucleus:datanucleus-rdbms:jar:3.2.9:provided [INFO] |  |  +- commons-pool:commons-pool:jar:1.5.4:provided [INFO] |  |  +- commons-dbcp:commons-dbcp:jar:1.4:provided [INFO] |  |  - javax.jdo:jdo-api:jar:3.0.1:provided [INFO] |  |     - javax.transaction:jta:jar:1.1:provided [INFO] |  +- commons-httpclient:commons-httpclient:jar:3.1:provided [INFO] |  +- org.apache.calcite:calcite-avatica:jar:1.2.0-incubating:provided [INFO] |  +- org.apache.calcite:calcite-core:jar:1.2.0-incubating:provided [INFO] |  |  +- org.apache.calcite:calcite-linq4j:jar:1.2.0-incubating:provided [INFO] |  |  - net.hydromatic:eigenbase-properties:jar:1.1.5:provided [INFO] |  +- org.codehaus.jackson:jackson-mapper-asl:jar:1.9.13:provided [INFO] |  +- joda-time:joda-time:jar:2.9.3:provided [INFO] |  +- org.jodd:jodd-core:jar:3.5.2:provided [INFO] |  +- org.datanucleus:datanucleus-core:jar:3.2.10:provided [INFO] |  +- org.apache.thrift:libthrift:jar:0.9.3:provided [INFO] |  +- org.apache.thrift:libfb303:jar:0.9.3:provided [INFO] |  - org.apache.derby:derby:jar:10.12.1.1:provided [INFO] - org.slf4j:slf4j-log4j12:jar:1.7.30:compile

I can provide you a bigger snippet of my pom file if that helps.

jradcliff commented 11 months ago

I see that you have a dependency on com.google.api:gax-grpc:2.12.2, which is quite a bit behind the dependency in this library on com.google.api:gax-grpc:2.32.0. The version you're depending on does not include the add(String, String) method, which was added in this commit on June 6.

harmonychan commented 11 months ago

I updated gax-grpc to 2.32.0 and am now getting this error:

Caused by: org.shaded.guava.util.concurrent.ExecutionError: java.lang.NoSuchMethodError: org.shaded.guava.collect.ImmutableMap$Builder.buildKeepingLast()Lorg/shaded/guava/collect/ImmutableMap; at org.shaded.guava.util.concurrent.Futures.wrapAndThrowUnchecked(Futures.java:1325) at org.shaded.guava.util.concurrent.Futures.getUnchecked(Futures.java:1318) at com.google.api.gax.rpc.ApiExceptions.callAndTranslateApiException(ApiExceptions.java:53) at com.google.api.gax.rpc.UnaryCallable.call(UnaryCallable.java:112) at com.google.ads.googleads.v15.services.GoogleAdsServiceClient.search(GoogleAdsServiceClient.java:237)

I think this means guava needs to be updated as well, but not sure what version. Is there a specific page that I can look at so I can update all dependencies as such?

Current dependency tree: [INFO] com.companyname.data:internal-google:jar:1.11.1-SNAPSHOT [INFO] +- com.companyname.data:internal-core:jar:1.11.1-SNAPSHOT:compile [INFO] +- com.google.guava:guava:jar:30.1.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.code.findbugs:jsr305:jar:3.0.2:compile [INFO] | +- org.checkerframework:checker-qual:jar:3.8.0:compile [INFO] | +- com.google.errorprone:error_prone_annotations:jar:2.5.1:compile [INFO] | - com.google.j2objc:j2objc-annotations:jar:1.3:compile [INFO] +- com.google.apis:google-api-services-searchconsole:jar:v1-rev20211026-1.32.1:compile [INFO] +- com.google.api-ads:google-ads:jar:28.0.0:compile [INFO] | +- io.grpc:grpc-stub:jar:1.58.0:compile [INFO] | +- io.grpc:grpc-protobuf:jar:1.58.0:compile [INFO] | | - io.grpc:grpc-protobuf-lite:jar:1.58.0:compile [INFO] | +- com.google.auth:google-auth-library-oauth2-http:jar:1.20.0:compile [INFO] | +- com.google.auth:google-auth-library-credentials:jar:1.20.0:compile [INFO] | +- com.google.api-ads:google-ads-codegen:jar:28.0.0:compile [INFO] | | +- com.google.api-ads:google-ads-stubs-lib:jar:28.0.0:compile [INFO] | | +- com.google.api-ads:google-ads-stubs-v13:jar:28.0.0:compile [INFO] | | +- com.google.api-ads:google-ads-stubs-v14:jar:28.0.0:compile [INFO] | | +- com.google.api-ads:google-ads-stubs-v15:jar:28.0.0:compile [INFO] | | - com.squareup:javapoet:jar:1.11.1:runtime [INFO] | +- com.google.protobuf:protobuf-java-util:jar:3.24.4:compile [INFO] | +- com.google.auto.service:auto-service:jar:1.0.1:runtime [INFO] | | +- com.google.auto.service:auto-service-annotations:jar:1.0.1:runtime [INFO] | | - com.google.auto:auto-common:jar:1.2:runtime [INFO] | +- javax.annotation:javax.annotation-api:jar:1.3.2:compile [INFO] | - com.google.auto.value:auto-value-annotations:jar:1.10.4:compile [INFO] +- com.google.protobuf:protobuf-java:jar:3.23.3:compile [INFO] +- com.google.api:gax-grpc:jar:2.32.0:compile [INFO] | +- com.google.api:api-common:jar:2.19.0:compile [INFO] | +- com.google.api.grpc:proto-google-common-protos:jar:2.27.0:compile [INFO] | +- io.grpc:grpc-api:jar:1.58.0:compile [INFO] | +- org.threeten:threetenbp:jar:1.6.8:compile [INFO] | +- io.grpc:grpc-alts:jar:1.58.0:compile [INFO] | | +- io.grpc:grpc-grpclb:jar:1.58.0:compile [INFO] | | - org.conscrypt:conscrypt-openjdk-uber:jar:2.5.2:compile [INFO] | +- io.grpc:grpc-auth:jar:1.58.0:compile [INFO] | +- io.grpc:grpc-netty-shaded:jar:1.58.0:compile [INFO] | | +- io.perfmark:perfmark-api:jar:0.26.0:runtime [INFO] | | - io.grpc:grpc-core:jar:1.58.0:compile [INFO] | | +- com.google.android:annotations:jar:4.1.1.4:runtime [INFO] | | +- org.codehaus.mojo:animal-sniffer-annotations:jar:1.23:runtime [INFO] | | - io.grpc:grpc-util:jar:1.58.0:runtime [INFO] | - io.grpc:grpc-googleapis:jar:1.58.0:runtime [INFO] | - io.grpc:grpc-xds:jar:1.58.0:runtime [INFO] | +- io.opencensus:opencensus-proto:jar:0.2.0:runtime [INFO] | +- io.grpc:grpc-services:jar:1.58.0:runtime [INFO] | - com.google.re2j:re2j:jar:1.7:runtime [INFO] +- com.google.api:gax:jar:2.32.0:compile [INFO] | - io.opencensus:opencensus-api:jar:0.31.1:compile [INFO] +- org.slf4j:slf4j-api:jar:1.7.30:compile [INFO] +- com.opencsv:opencsv:jar:5.4:compile [INFO] | +- org.apache.commons:commons-lang3:jar:3.12.0:compile [INFO] | +- org.apache.commons:commons-text:jar:1.9:compile [INFO] | - commons-beanutils:commons-beanutils:jar:1.9.4:compile [INFO] +- org.apache.velocity:velocity:jar:1.7:compile [INFO] | +- commons-collections:commons-collections:jar:3.2.1:compile [INFO] | - commons-lang:commons-lang:jar:2.4:compile [INFO] +- org.apache.velocity:velocity-tools:jar:2.0:compile [INFO] | +- commons-digester:commons-digester:jar:1.8:compile [INFO] | +- commons-chain:commons-chain:jar:1.1:compile [INFO] | +- commons-logging:commons-logging:jar:1.1:compile [INFO] | | - javax.servlet:servlet-api:jar:2.3:compile [INFO] | +- commons-validator:commons-validator:jar:1.3.1:compile [INFO] | +- dom4j:dom4j:jar:1.1:compile [INFO] | +- oro:oro:jar:2.0.8:compile [INFO] | +- sslext:sslext:jar:1.2-0:compile [INFO] | +- org.apache.struts:struts-core:jar:1.3.8:compile [INFO] | | - antlr:antlr:jar:2.7.2:compile [INFO] | +- org.apache.struts:struts-taglib:jar:1.3.8:compile [INFO] | - org.apache.struts:struts-tiles:jar:1.3.8:compile [INFO] +- com.google.cloud:google-cloud-bigquery:jar:2.10.0:compile [INFO] | +- com.google.cloud:google-cloud-core:jar:2.26.0:compile [INFO] | +- com.google.api.grpc:proto-google-iam-v1:jar:1.22.0:compile [INFO] | +- com.google.http-client:google-http-client-gson:jar:1.43.3:compile [INFO] | +- com.google.cloud:google-cloud-core-http:jar:2.26.0:compile [INFO] | +- com.google.oauth-client:google-oauth-client:jar:1.34.1:compile [INFO] | +- com.google.http-client:google-http-client-apache-v2:jar:1.43.3:compile [INFO] | +- com.google.http-client:google-http-client-appengine:jar:1.43.3:compile [INFO] | +- com.google.api:gax-httpjson:jar:2.36.0:compile [INFO] | +- io.grpc:grpc-context:jar:1.58.0:compile [INFO] | +- io.opencensus:opencensus-contrib-http-util:jar:0.31.0:compile [INFO] | +- com.google.http-client:google-http-client-jackson2:jar:1.43.3:compile [INFO] | +- com.fasterxml.jackson.core:jackson-core:jar:2.12.3:compile [INFO] | +- com.google.http-client:google-http-client:jar:1.43.3:compile [INFO] | +- org.apache.httpcomponents:httpclient:jar:4.5.13:compile [INFO] | +- commons-codec:commons-codec:jar:1.15:compile [INFO] | +- org.apache.httpcomponents:httpcore:jar:4.4.14:compile [INFO] | +- org.checkerframework:checker-compat-qual:jar:2.5.5:compile [INFO] | +- com.google.apis:google-api-services-bigquery:jar:v2-rev20220307-1.32.1:compile [INFO] | +- com.google.code.gson:gson:jar:2.10.1:compile [INFO] | - org.threeten:threeten-extra:jar:1.7.0:compile [INFO] +- com.google.api-client:google-api-client:jar:1.31.4:compile [INFO] +- com.google.cloud:google-cloud-nio:jar:0.127.6:compile [INFO] | +- com.google.apis:google-api-services-storage:jar:v1-rev20231012-2.0.0:compile [INFO] | - javax.inject:javax.inject:jar:1:compile [INFO] +- com.google.cloud:google-cloud-storage:jar:2.5.0:compile [INFO] +- com.google.apis:google-api-services-dfareporting:jar:v4-rev20220920-2.0.0:compile [INFO] +- org.apache.commons:commons-collections4:jar:4.4:compile [INFO] +- org.projectlombok:lombok:jar:1.18.20:provided [INFO] +- com.companyname.data:data-commons-spark-tests:jar:1.3.1:test [INFO] | +- com.holdenkarau:spark-testing-base_2.11:jar:2.4.5_0.14.0:test [INFO] | | +- org.apache.spark:spark-streaming_2.11:jar:2.4.5:test [INFO] | | +- org.apache.spark:spark-yarn_2.11:jar:2.4.5:test [INFO] | | | +- org.apache.hadoop:hadoop-yarn-common:jar:2.6.5:provided [INFO] | | | | +- javax.xml.bind:jaxb-api:jar:2.2.2:provided [INFO] | | | | | - javax.xml.stream:stax-api:jar:1.0-2:provided [INFO] | | | | +- org.codehaus.jackson:jackson-jaxrs:jar:1.9.13:provided [INFO] | | | | +- org.codehaus.jackson:jackson-xc:jar:1.9.13:provided [INFO] | | | | - com.google.inject:guice:jar:3.0:provided [INFO] | | | | - aopalliance:aopalliance:jar:1.0:provided [INFO] | | | - org.apache.hadoop:hadoop-yarn-client:jar:2.6.5:provided [INFO] | | +- org.apache.spark:spark-mllib_2.11:jar:2.4.5:test [INFO] | | | +- org.apache.spark:spark-graphx_2.11:jar:2.4.5:test [INFO] | | | | +- com.github.fommil.netlib:core:jar:1.1.2:test [INFO] | | | | - net.sourceforge.f2j:arpack_combined_all:jar:0.1:test [INFO] | | | +- org.apache.spark:spark-mllib-local_2.11:jar:2.4.5:test [INFO] | | | - org.scalanlp:breeze_2.11:jar:0.13.2:test [INFO] | | | +- org.scalanlp:breeze-macros_2.11:jar:0.13.2:test [INFO] | | | +- com.github.rwl:jtransforms:jar:2.4.0:test [INFO] | | | +- org.spire-math:spire_2.11:jar:0.13.0:test [INFO] | | | | +- org.spire-math:spire-macros_2.11:jar:0.13.0:test [INFO] | | | | - org.typelevel:machinist_2.11:jar:0.6.1:test [INFO] | | | - com.chuusai:shapeless_2.11:jar:2.3.2:test [INFO] | | | - org.typelevel:macro-compat_2.11:jar:1.1.1:test [INFO] | | +- io.github.nicolasstucki:multisets_2.11:jar:0.4:test [INFO] | | +- org.scalacheck:scalacheck_2.11:jar:1.14.0:test [INFO] | | | - org.scala-sbt:test-interface:jar:1.0:test [INFO] | | +- org.eclipse.jetty:jetty-util:jar:9.3.11.v20160721:test [INFO] | | +- org.apache.hadoop:hadoop-hdfs:jar:tests:2.8.3:test [INFO] | | | +- org.apache.hadoop:hadoop-hdfs-client:jar:2.8.3:provided [INFO] | | | | - com.squareup.okhttp:okhttp:jar:2.4.0:provided [INFO] | | | | - com.squareup.okio:okio:jar:1.4.0:provided [INFO] | | | +- org.mortbay.jetty:jetty:jar:6.1.26:provided [INFO] | | | +- org.mortbay.jetty:jetty-util:jar:6.1.26:provided [INFO] | | | +- com.sun.jersey:jersey-core:jar:1.9:provided [INFO] | | | +- com.sun.jersey:jersey-server:jar:1.9:provided [INFO] | | | | - asm:asm:jar:3.1:provided [INFO] | | | +- commons-daemon:commons-daemon:jar:1.0.13:provided [INFO] | | | +- xmlenc:xmlenc:jar:0.52:provided [INFO] | | | +- xerces:xercesImpl:jar:2.9.1:provided [INFO] | | | | - xml-apis:xml-apis:jar:1.3.04:provided [INFO] | | | - org.apache.htrace:htrace-core4:jar:4.0.1-incubating:provided [INFO] | | +- org.apache.hadoop:hadoop-hdfs:jar:2.8.3:provided [INFO] | | +- org.apache.hadoop:hadoop-common:jar:tests:2.8.3:test [INFO] | | | +- org.mortbay.jetty:jetty-sslengine:jar:6.1.26:provided [INFO] | | | +- javax.servlet.jsp:jsp-api:jar:2.1:provided [INFO] | | | +- com.sun.jersey:jersey-json:jar:1.9:provided [INFO] | | | +- net.java.dev.jets3t:jets3t:jar:0.9.0:provided [INFO] | | | +- commons-configuration:commons-configuration:jar:1.6:provided [INFO] | | | | - commons-beanutils:commons-beanutils-core:jar:1.8.0:provided [INFO] | | | +- org.apache.hadoop:hadoop-auth:jar:2.8.3:provided [INFO] | | | | +- com.nimbusds:nimbus-jose-jwt:jar:3.9:provided [INFO] | | | | | +- net.jcip:jcip-annotations:jar:1.0:provided [INFO] | | | | | - net.minidev:json-smart:jar:1.1.1:provided [INFO] | | | | - org.apache.directory.server:apacheds-kerberos-codec:jar:2.0.0-M15:provided [INFO] | | | | +- org.apache.directory.server:apacheds-i18n:jar:2.0.0-M15:provided [INFO] | | | | +- org.apache.directory.api:api-asn1-api:jar:1.0.0-M20:provided [INFO] | | | | - org.apache.directory.api:api-util:jar:1.0.0-M20:provided [INFO] | | | +- com.jcraft:jsch:jar:0.1.54:provided [INFO] | | | - org.apache.curator:curator-client:jar:2.7.1:provided [INFO] | | +- org.apache.hadoop:hadoop-common:jar:2.8.3:provided [INFO] | | +- org.apache.hadoop:hadoop-client:jar:tests:2.8.3:test [INFO] | | +- org.apache.hadoop:hadoop-mapreduce-client-jobclient:jar:tests:2.8.3:test [INFO] | | | +- org.apache.hadoop:hadoop-mapreduce-client-common:jar:2.8.3:provided [INFO] | | | +- org.apache.hadoop:hadoop-mapreduce-client-shuffle:jar:2.8.3:provided [INFO] | | | - com.google.inject.extensions:guice-servlet:jar:3.0:provided [INFO] | | +- org.apache.hadoop:hadoop-mapreduce-client-jobclient:jar:2.8.3:provided [INFO] | | +- org.apache.hadoop:hadoop-yarn-server-tests:jar:tests:2.8.3:test [INFO] | | | +- org.apache.hadoop:hadoop-yarn-server-common:jar:2.8.3:provided [INFO] | | | +- org.apache.hadoop:hadoop-yarn-server-nodemanager:jar:2.8.3:provided [INFO] | | | | +- org.codehaus.jettison:jettison:jar:1.1:provided [INFO] | | | | +- com.sun.jersey:jersey-client:jar:1.9:provided [INFO] | | | | - com.sun.jersey.contribs:jersey-guice:jar:1.9:provided [INFO] | | | - org.apache.hadoop:hadoop-yarn-server-resourcemanager:jar:2.8.3:test [INFO] | | | +- org.apache.hadoop:hadoop-yarn-server-applicationhistoryservice:jar:2.8.3:test [INFO] | | | | - de.ruedigermoeller:fst:jar:2.50:test [INFO] | | | | - com.cedarsoftware:java-util:jar:1.9.0:test [INFO] | | | | - com.cedarsoftware:json-io:jar:2.5.1:test [INFO] | | | +- org.apache.curator:curator-test:jar:2.7.1:test [INFO] | | | | - org.apache.commons:commons-math:jar:2.2:test [INFO] | | | - org.apache.zookeeper:zookeeper:test-jar:tests:3.4.6:test [INFO] | | +- org.apache.hadoop:hadoop-yarn-server-tests:jar:2.8.3:test [INFO] | | +- org.apache.hadoop:hadoop-yarn-server-web-proxy:jar:tests:2.8.3:test [INFO] | | +- org.apache.hadoop:hadoop-yarn-server-web-proxy:jar:2.8.3:test [INFO] | | - org.apache.hadoop:hadoop-minicluster:jar:2.8.3:test [INFO] | | - org.apache.hadoop:hadoop-mapreduce-client-hs:jar:2.8.3:test [INFO] | +- org.scalatest:scalatest_2.11:jar:3.0.5:test [INFO] | | +- org.scalactic:scalactic_2.11:jar:3.0.5:test [INFO] | | +- org.scala-lang:scala-reflect:jar:2.11.12:provided [INFO] | | - org.scala-lang.modules:scala-xml_2.11:jar:1.0.6:provided [INFO] | +- org.junit.jupiter:junit-jupiter:jar:5.7.1:test [INFO] | | +- org.junit.jupiter:junit-jupiter-api:jar:5.7.1:test [INFO] | | | +- org.apiguardian:apiguardian-api:jar:1.1.0:test [INFO] | | | +- org.opentest4j:opentest4j:jar:1.2.0:test [INFO] | | | - org.junit.platform:junit-platform-commons:jar:1.7.1:test [INFO] | | +- org.junit.jupiter:junit-jupiter-params:jar:5.7.1:test [INFO] | | - org.junit.jupiter:junit-jupiter-engine:jar:5.7.1:test [INFO] | | - org.junit.platform:junit-platform-engine:jar:1.7.1:test [INFO] | +- junit:junit:jar:4.13.2:test [INFO] | - com.fasterxml.jackson.module:jackson-module-scala_2.11:jar:2.12.3:provided [INFO] | - com.fasterxml.jackson.core:jackson-annotations:jar:2.12.3:provided [INFO] +- org.easymock:easymock:jar:4.3:test [INFO] | - org.objenesis:objenesis:jar:3.2:provided [INFO] +- org.powermock:powermock-module-junit4:jar:2.0.9:test [INFO] | +- org.powermock:powermock-module-junit4-common:jar:2.0.9:test [INFO] | | - org.powermock:powermock-reflect:jar:2.0.9:test [INFO] | - org.hamcrest:hamcrest-core:jar:1.3:test [INFO] +- org.powermock:powermock-api-mockito2:jar:2.0.9:test [INFO] | +- org.powermock:powermock-api-support:jar:2.0.9:test [INFO] | - org.mockito:mockito-core:jar:3.9.0:test [INFO] +- org.powermock:powermock-module-junit4-rule-agent:jar:2.0.9:test [INFO] | - org.powermock:powermock-core:jar:2.0.9:test [INFO] | +- org.javassist:javassist:jar:3.27.0-GA:provided [INFO] | +- net.bytebuddy:byte-buddy:jar:1.10.14:test [INFO] | - net.bytebuddy:byte-buddy-agent:jar:1.10.14:test [INFO] +- org.powermock:powermock-module-javaagent:jar:2.0.9:test [INFO] +- org.apache.spark:spark-core_2.11:jar:2.4.5:provided [INFO] | +- com.thoughtworks.paranamer:paranamer:jar:2.8:provided [INFO] | +- org.apache.avro:avro:jar:1.8.2:provided [INFO] | | +- org.codehaus.jackson:jackson-core-asl:jar:1.9.13:provided [INFO] | | +- org.apache.commons:commons-compress:jar:1.8.1:provided [INFO] | | - org.tukaani:xz:jar:1.5:provided [INFO] | +- org.apache.avro:avro-mapred:jar:hadoop2:1.8.2:provided [INFO] | | - org.apache.avro:avro-ipc:jar:1.8.2:provided [INFO] | +- com.twitter:chill_2.11:jar:0.9.3:provided [INFO] | | - com.esotericsoftware:kryo-shaded:jar:4.0.2:provided [INFO] | | - com.esotericsoftware:minlog:jar:1.3.0:provided [INFO] | +- com.twitter:chill-java:jar:0.9.3:provided [INFO] | +- org.apache.xbean:xbean-asm6-shaded:jar:4.8:provided [INFO] | +- org.apache.hadoop:hadoop-client:jar:2.6.5:provided [INFO] | | +- org.apache.hadoop:hadoop-mapreduce-client-app:jar:2.6.5:provided [INFO] | | +- org.apache.hadoop:hadoop-yarn-api:jar:2.6.5:provided [INFO] | | +- org.apache.hadoop:hadoop-mapreduce-client-core:jar:2.6.5:provided [INFO] | | - org.apache.hadoop:hadoop-annotations:jar:2.6.5:provided [INFO] | +- org.apache.spark:spark-launcher_2.11:jar:2.4.5:provided [INFO] | +- org.apache.spark:spark-kvstore_2.11:jar:2.4.5:provided [INFO] | | - org.fusesource.leveldbjni:leveldbjni-all:jar:1.8:provided [INFO] | +- org.apache.spark:spark-network-common_2.11:jar:2.4.5:provided [INFO] | +- org.apache.spark:spark-network-shuffle_2.11:jar:2.4.5:provided [INFO] | +- org.apache.spark:spark-unsafe_2.11:jar:2.4.5:provided [INFO] | +- javax.activation:activation:jar:1.1.1:provided [INFO] | +- org.apache.curator:curator-recipes:jar:2.6.0:provided [INFO] | | - org.apache.curator:curator-framework:jar:2.6.0:provided [INFO] | +- org.apache.zookeeper:zookeeper:jar:3.4.6:provided [INFO] | +- javax.servlet:javax.servlet-api:jar:3.1.0:provided [INFO] | +- org.apache.commons:commons-math3:jar:3.4.1:provided [INFO] | +- org.slf4j:jul-to-slf4j:jar:1.7.16:provided [INFO] | +- org.slf4j:jcl-over-slf4j:jar:1.7.16:provided [INFO] | +- log4j:log4j:jar:1.2.17:compile [INFO] | +- com.ning:compress-lzf:jar:1.0.3:provided [INFO] | +- org.xerial.snappy:snappy-java:jar:1.1.7.3:provided [INFO] | +- org.lz4:lz4-java:jar:1.4.0:provided [INFO] | +- com.github.luben:zstd-jni:jar:1.3.2-2:provided [INFO] | +- org.roaringbitmap:RoaringBitmap:jar:0.7.45:provided [INFO] | | - org.roaringbitmap:shims:jar:0.7.45:provided [INFO] | +- commons-net:commons-net:jar:3.1:provided [INFO] | +- org.scala-lang:scala-library:jar:2.11.12:provided [INFO] | +- org.json4s:json4s-jackson_2.11:jar:3.5.3:provided [INFO] | | - org.json4s:json4s-core_2.11:jar:3.5.3:provided [INFO] | | +- org.json4s:json4s-ast_2.11:jar:3.5.3:provided [INFO] | | - org.json4s:json4s-scalap_2.11:jar:3.5.3:provided [INFO] | +- org.glassfish.jersey.core:jersey-client:jar:2.22.2:provided [INFO] | | +- javax.ws.rs:javax.ws.rs-api:jar:2.0.1:provided [INFO] | | +- org.glassfish.hk2:hk2-api:jar:2.4.0-b34:provided [INFO] | | | +- org.glassfish.hk2:hk2-utils:jar:2.4.0-b34:provided [INFO] | | | - org.glassfish.hk2.external:aopalliance-repackaged:jar:2.4.0-b34:provided [INFO] | | +- org.glassfish.hk2.external:javax.inject:jar:2.4.0-b34:provided [INFO] | | - org.glassfish.hk2:hk2-locator:jar:2.4.0-b34:provided [INFO] | +- org.glassfish.jersey.core:jersey-common:jar:2.22.2:provided [INFO] | | +- org.glassfish.jersey.bundles.repackaged:jersey-guava:jar:2.22.2:provided [INFO] | | - org.glassfish.hk2:osgi-resource-locator:jar:1.0.1:provided [INFO] | +- org.glassfish.jersey.core:jersey-server:jar:2.22.2:provided [INFO] | | +- org.glassfish.jersey.media:jersey-media-jaxb:jar:2.22.2:provided [INFO] | | - javax.validation:validation-api:jar:1.1.0.Final:provided [INFO] | +- org.glassfish.jersey.containers:jersey-container-servlet:jar:2.22.2:provided [INFO] | +- org.glassfish.jersey.containers:jersey-container-servlet-core:jar:2.22.2:provided [INFO] | +- io.netty:netty-all:jar:4.1.42.Final:provided [INFO] | +- io.netty:netty:jar:3.9.9.Final:provided [INFO] | +- com.clearspring.analytics:stream:jar:2.7.0:provided [INFO] | +- io.dropwizard.metrics:metrics-core:jar:3.1.5:provided [INFO] | +- io.dropwizard.metrics:metrics-jvm:jar:3.1.5:provided [INFO] | +- io.dropwizard.metrics:metrics-json:jar:3.1.5:provided [INFO] | +- io.dropwizard.metrics:metrics-graphite:jar:3.1.5:provided [INFO] | +- com.fasterxml.jackson.core:jackson-databind:jar:2.12.3:provided [INFO] | +- org.apache.ivy:ivy:jar:2.4.0:provided [INFO] | +- net.razorvine:pyrolite:jar:4.13:provided [INFO] | +- net.sf.py4j:py4j:jar:0.10.7:provided [INFO] | +- org.apache.spark:spark-tags_2.11:jar:2.4.5:provided [INFO] | +- org.apache.commons:commons-crypto:jar:1.0.0:provided [INFO] | - org.spark-project.spark:unused:jar:1.0.0:provided [INFO] +- org.apache.spark:spark-sql_2.11:jar:2.4.5:provided [INFO] | +- com.univocity:univocity-parsers:jar:2.7.3:provided [INFO] | +- org.apache.spark:spark-sketch_2.11:jar:2.4.5:provided [INFO] | +- org.apache.spark:spark-catalyst_2.11:jar:2.4.5:provided [INFO] | | +- org.scala-lang.modules:scala-parser-combinators_2.11:jar:1.1.0:provided [INFO] | | +- org.codehaus.janino:janino:jar:3.0.9:provided [INFO] | | +- org.codehaus.janino:commons-compiler:jar:3.0.9:provided [INFO] | | - org.antlr:antlr4-runtime:jar:4.7:provided [INFO] | +- org.apache.orc:orc-core:jar:nohive:1.5.5:provided [INFO] | | +- org.apache.orc:orc-shims:jar:1.5.5:provided [INFO] | | - io.airlift:aircompressor:jar:0.10:provided [INFO] | +- org.apache.orc:orc-mapreduce:jar:nohive:1.5.5:provided [INFO] | +- org.apache.parquet:parquet-column:jar:1.10.1:provided [INFO] | | +- org.apache.parquet:parquet-common:jar:1.10.1:provided [INFO] | | - org.apache.parquet:parquet-encoding:jar:1.10.1:provided [INFO] | +- org.apache.parquet:parquet-hadoop:jar:1.10.1:provided [INFO] | | +- org.apache.parquet:parquet-format:jar:2.4.0:provided [INFO] | | - org.apache.parquet:parquet-jackson:jar:1.10.1:provided [INFO] | - org.apache.arrow:arrow-vector:jar:0.10.0:provided [INFO] | +- org.apache.arrow:arrow-format:jar:0.10.0:provided [INFO] | +- org.apache.arrow:arrow-memory:jar:0.10.0:provided [INFO] | +- com.carrotsearch:hppc:jar:0.7.2:provided [INFO] | - com.vlkan:flatbuffers:jar:1.2.0-3f79e055:provided [INFO] +- org.apache.spark:spark-hive_2.11:jar:2.4.5:provided [INFO] | +- com.twitter:parquet-hadoop-bundle:jar:1.6.0:provided [INFO] | +- org.spark-project.hive:hive-exec:jar:1.2.1.spark2:provided [INFO] | | +- commons-io:commons-io:jar:2.8.0:provided [INFO] | | +- javolution:javolution:jar:5.5.1:provided [INFO] | | +- log4j:apache-log4j-extras:jar:1.2.17:provided [INFO] | | +- org.antlr:antlr-runtime:jar:3.4:provided [INFO] | | | - org.antlr:stringtemplate:jar:3.2.1:provided [INFO] | | +- org.antlr:ST4:jar:4.0.4:provided [INFO] | | +- com.googlecode.javaewah:JavaEWAH:jar:0.3.2:provided [INFO] | | +- org.iq80.snappy:snappy:jar:0.2:provided [INFO] | | +- stax:stax-api:jar:1.0.1:provided [INFO] | | - net.sf.opencsv:opencsv:jar:2.3:provided [INFO] | +- org.spark-project.hive:hive-metastore:jar:1.2.1.spark2:provided [INFO] | | +- com.jolbox:bonecp:jar:0.8.0.RELEASE:provided [INFO] | | +- commons-cli:commons-cli:jar:1.4:provided [INFO] | | +- org.datanucleus:datanucleus-api-jdo:jar:3.2.6:provided [INFO] | | +- org.datanucleus:datanucleus-rdbms:jar:3.2.9:provided [INFO] | | +- commons-pool:commons-pool:jar:1.5.4:provided [INFO] | | +- commons-dbcp:commons-dbcp:jar:1.4:provided [INFO] | | - javax.jdo:jdo-api:jar:3.0.1:provided [INFO] | | - javax.transaction:jta:jar:1.1:provided [INFO] | +- commons-httpclient:commons-httpclient:jar:3.1:provided [INFO] | +- org.apache.calcite:calcite-avatica:jar:1.2.0-incubating:provided [INFO] | +- org.apache.calcite:calcite-core:jar:1.2.0-incubating:provided [INFO] | | +- org.apache.calcite:calcite-linq4j:jar:1.2.0-incubating:provided [INFO] | | - net.hydromatic:eigenbase-properties:jar:1.1.5:provided [INFO] | +- org.codehaus.jackson:jackson-mapper-asl:jar:1.9.13:provided [INFO] | +- joda-time:joda-time:jar:2.9.3:provided [INFO] | +- org.jodd:jodd-core:jar:3.5.2:provided [INFO] | +- org.datanucleus:datanucleus-core:jar:3.2.10:provided [INFO] | +- org.apache.thrift:libthrift:jar:0.9.3:provided [INFO] | +- org.apache.thrift:libfb303:jar:0.9.3:provided [INFO] | - org.apache.derby:derby:jar:10.12.1.1:provided [INFO] - org.slf4j:slf4j-log4j12:jar:1.7.30:compile

jradcliff commented 11 months ago

You can see which version of every library was used for a release by checking the contents of the third_party directory at the release's tag. For example, here's that directory's contents for release 28.0.0:

https://github.com/googleads/google-ads-java/tree/28.0.0/third_party

That shows that release 28.0.0 used version 32.1.2-jre of Guava.

However, an easier approach would be to declare a dependency on the com.google.cloud:google-cloud-shared-dependencies version in your dependencyManagement configuration that matches the version this library used for a given release. For example, release 28.0.0 of this library used com.google.cloud:google-cloud-shared-dependencies:3.14.0, as can be seen at this link. Once you configure your dependencyManagement, you should not specify the version element under dependencies, and instead Maven will use the version defined in dependencyManagement.

harmonychan commented 11 months ago

Is it better to use com.google.cloud:google-cloud-shared-dependencies instead of com.google.cloud:libraries-bom? From what I can see they pull very similar dependencies. I updated all of the required dependencies needed for 28.0.0, and am now encountering this error:

Caused by: java.util.ServiceConfigurationError: io.grpc.LoadBalancerProvider: Provider io.grpc.xds.WeightedRoundRobinLoadBalancerProvider could not be instantiated at java.util.ServiceLoader.fail(ServiceLoader.java:232) at java.util.ServiceLoader.access$100(ServiceLoader.java:185) at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:384) at java.util.ServiceLoader$LazyIterator.access$700(ServiceLoader.java:323) at java.util.ServiceLoader$LazyIterator$2.run(ServiceLoader.java:407) at java.security.AccessController.doPrivileged(Native Method) at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:409) at java.util.ServiceLoader$1.next(ServiceLoader.java:480) at io.grpc.ServiceProviders.loadAll(ServiceProviders.java:67) at io.grpc.LoadBalancerRegistry.getDefaultRegistry(LoadBalancerRegistry.java:102) at io.grpc.internal.AutoConfiguredLoadBalancerFactory.(AutoConfiguredLoadBalancerFactory.java:53) at io.grpc.internal.ManagedChannelImpl.(ManagedChannelImpl.java:622) at io.grpc.internal.ManagedChannelImplBuilder.build(ManagedChannelImplBuilder.java:615) at io.grpc.internal.AbstractManagedChannelImplBuilder.build(AbstractManagedChannelImplBuilder.java:261) at com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.createSingleChannel(InstantiatingGrpcChannelProvider.java:391) at com.google.api.gax.grpc.ChannelPool.(ChannelPool.java:107) at com.google.api.gax.grpc.ChannelPool.create(ChannelPool.java:85) at com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.createChannel(InstantiatingGrpcChannelProvider.java:237) at com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.getTransportChannel(InstantiatingGrpcChannelProvider.java:231) at com.google.api.gax.rpc.ClientContext.create(ClientContext.java:236) at com.google.ads.googleads.v15.services.stub.GrpcGoogleAdsServiceStub.create(GrpcGoogleAdsServiceStub.java:96) at com.google.ads.googleads.v15.services.stub.GoogleAdsServiceStubSettings.createStub(GoogleAdsServiceStubSettings.java:189) at com.google.ads.googleads.v15.services.GoogleAdsServiceClient.(GoogleAdsServiceClient.java:150) at com.google.ads.googleads.v15.services.GoogleAdsServiceClient.create(GoogleAdsServiceClient.java:132) at com.google.ads.googleads.lib.catalog.GeneratedCatalog$V15Client.createGoogleAdsServiceClient(GeneratedCatalog.java:4664)

My current pom file: `

28.0.0 3.23.3 32.1.2-jre 2.32.0
<dependencyManagement>
    <dependencies>
        <dependency>
            <groupId>com.google.cloud</groupId>
            <artifactId>libraries-bom</artifactId>
            <version>20.1.0</version>
            <type>pom</type>
            <scope>import</scope>
        </dependency>
        <dependency>
            <groupId>com.google.guava</groupId>
            <artifactId>guava</artifactId>
            <version>${guava.version}</version>
        </dependency>
        <dependency>
            <groupId>com.google.auth</groupId>
            <artifactId>google-auth-library-credentials</artifactId>
            <version>1.19.0</version>
        </dependency>
        <dependency>
            <groupId>com.google.auth</groupId>
            <artifactId>google-auth-library-oauth2-http</artifactId>
            <version>1.19.0</version>
        </dependency>
        <dependency>
            <groupId>com.google.api</groupId>
            <artifactId>gax-grpc</artifactId>
            <version>${google-gax.version}</version>
        </dependency>
        <dependency>
            <groupId>com.google.api</groupId>
            <artifactId>gax</artifactId>
            <version>${google-gax.version}</version>
        </dependency>
    </dependencies>
</dependencyManagement>

` Here is my dependency tree:

[INFO] com.companyname.data:internal-google:jar:1.11.5-SNAPSHOT [INFO] +- com.companyname.data:internal-core:jar:1.11.5-SNAPSHOT:compile [INFO] +- com.google.guava:guava:jar:32.1.2-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.code.findbugs:jsr305:jar:3.0.2:compile [INFO] | +- org.checkerframework:checker-qual:jar:3.33.0:compile [INFO] | +- com.google.errorprone:error_prone_annotations:jar:2.18.0:compile [INFO] | - com.google.j2objc:j2objc-annotations:jar:2.8:compile [INFO] +- com.google.apis:google-api-services-searchconsole:jar:v1-rev20211026-1.32.1:compile [INFO] +- com.google.api-ads:google-ads:jar:28.0.0:compile [INFO] | +- io.grpc:grpc-stub:jar:1.37.0:compile [INFO] | | - org.codehaus.mojo:animal-sniffer-annotations:jar:1.19:runtime [INFO] | +- io.grpc:grpc-protobuf:jar:1.37.0:compile [INFO] | | - io.grpc:grpc-protobuf-lite:jar:1.37.0:compile [INFO] | +- com.google.auth:google-auth-library-oauth2-http:jar:1.19.0:compile [INFO] | +- com.google.auth:google-auth-library-credentials:jar:1.19.0:compile [INFO] | +- com.google.api-ads:google-ads-codegen:jar:28.0.0:compile [INFO] | | +- com.google.api-ads:google-ads-stubs-lib:jar:28.0.0:compile [INFO] | | +- com.google.api-ads:google-ads-stubs-v13:jar:28.0.0:compile [INFO] | | +- com.google.api-ads:google-ads-stubs-v14:jar:28.0.0:compile [INFO] | | +- com.google.api-ads:google-ads-stubs-v15:jar:28.0.0:compile [INFO] | | - com.squareup:javapoet:jar:1.11.1:runtime [INFO] | +- com.google.protobuf:protobuf-java-util:jar:3.15.8:compile [INFO] | +- com.google.auto.service:auto-service:jar:1.0.1:runtime [INFO] | | +- com.google.auto.service:auto-service-annotations:jar:1.0.1:runtime [INFO] | | - com.google.auto:auto-common:jar:1.2:runtime [INFO] | +- javax.annotation:javax.annotation-api:jar:1.3.2:compile [INFO] | - com.google.auto.value:auto-value-annotations:jar:1.7.4:compile [INFO] +- com.google.protobuf:protobuf-java:jar:3.23.3:compile [INFO] +- com.google.api:gax-grpc:jar:2.32.0:compile [INFO] | +- com.google.api:api-common:jar:1.10.1:compile [INFO] | +- com.google.api.grpc:proto-google-common-protos:jar:2.1.0:compile [INFO] | +- io.grpc:grpc-api:jar:1.37.0:compile [INFO] | +- org.threeten:threetenbp:jar:1.6.8:compile [INFO] | +- io.grpc:grpc-alts:jar:1.37.0:compile [INFO] | | +- io.grpc:grpc-grpclb:jar:1.37.0:compile [INFO] | | - org.conscrypt:conscrypt-openjdk-uber:jar:2.5.1:compile [INFO] | +- io.grpc:grpc-auth:jar:1.37.0:compile [INFO] | +- io.grpc:grpc-netty-shaded:jar:1.37.0:compile [INFO] | | - io.grpc:grpc-core:jar:1.37.0:compile [INFO] | | +- com.google.android:annotations:jar:4.1.1.4:runtime [INFO] | | - io.perfmark:perfmark-api:jar:0.23.0:runtime [INFO] | - io.grpc:grpc-googleapis:jar:1.56.1:runtime [INFO] | - io.grpc:grpc-xds:jar:1.56.1:runtime [INFO] | +- io.opencensus:opencensus-proto:jar:0.2.0:runtime [INFO] | +- io.grpc:grpc-services:jar:1.37.0:runtime [INFO] | - com.google.re2j:re2j:jar:1.7:runtime [INFO] +- com.google.api:gax:jar:2.32.0:compile [INFO] | - io.opencensus:opencensus-api:jar:0.31.1:compile [INFO] +- org.slf4j:slf4j-api:jar:1.7.30:compile [INFO] +- com.opencsv:opencsv:jar:5.4:compile [INFO] | +- org.apache.commons:commons-lang3:jar:3.12.0:compile [INFO] | +- org.apache.commons:commons-text:jar:1.9:compile [INFO] | - commons-beanutils:commons-beanutils:jar:1.9.4:compile [INFO] +- org.apache.velocity:velocity:jar:1.7:compile [INFO] | +- commons-collections:commons-collections:jar:3.2.1:compile [INFO] | - commons-lang:commons-lang:jar:2.4:compile [INFO] +- org.apache.velocity:velocity-tools:jar:2.0:compile [INFO] | +- commons-digester:commons-digester:jar:1.8:compile [INFO] | +- commons-chain:commons-chain:jar:1.1:compile [INFO] | +- commons-logging:commons-logging:jar:1.1:compile [INFO] | | - javax.servlet:servlet-api:jar:2.3:compile [INFO] | +- commons-validator:commons-validator:jar:1.3.1:compile [INFO] | +- dom4j:dom4j:jar:1.1:compile [INFO] | +- oro:oro:jar:2.0.8:compile [INFO] | +- sslext:sslext:jar:1.2-0:compile [INFO] | +- org.apache.struts:struts-core:jar:1.3.8:compile [INFO] | | - antlr:antlr:jar:2.7.2:compile [INFO] | +- org.apache.struts:struts-taglib:jar:1.3.8:compile [INFO] | - org.apache.struts:struts-tiles:jar:1.3.8:compile [INFO] +- com.google.cloud:google-cloud-bigquery:jar:2.10.0:compile [INFO] | +- com.google.cloud:google-cloud-core:jar:1.94.7:compile [INFO] | +- com.google.api.grpc:proto-google-iam-v1:jar:1.0.12:compile [INFO] | +- com.google.http-client:google-http-client-gson:jar:1.39.2:compile [INFO] | +- com.google.cloud:google-cloud-core-http:jar:1.94.7:compile [INFO] | +- com.google.oauth-client:google-oauth-client:jar:1.33.1:compile [INFO] | +- com.google.http-client:google-http-client-apache-v2:jar:1.39.2:compile [INFO] | +- com.google.http-client:google-http-client-appengine:jar:1.39.2:compile [INFO] | +- com.google.api:gax-httpjson:jar:0.80.0:compile [INFO] | +- io.grpc:grpc-context:jar:1.37.0:compile [INFO] | +- io.opencensus:opencensus-contrib-http-util:jar:0.31.0:compile [INFO] | +- com.google.http-client:google-http-client-jackson2:jar:1.39.2:compile [INFO] | +- com.fasterxml.jackson.core:jackson-core:jar:2.12.3:compile [INFO] | +- com.google.http-client:google-http-client:jar:1.39.2:compile [INFO] | +- org.apache.httpcomponents:httpclient:jar:4.5.13:compile [INFO] | +- commons-codec:commons-codec:jar:1.15:compile [INFO] | +- org.apache.httpcomponents:httpcore:jar:4.4.14:compile [INFO] | +- org.checkerframework:checker-compat-qual:jar:2.5.5:compile [INFO] | +- com.google.apis:google-api-services-bigquery:jar:v2-rev20220307-1.32.1:compile [INFO] | +- com.google.code.gson:gson:jar:2.9.0:compile [INFO] | - org.threeten:threeten-extra:jar:1.7.0:compile [INFO] +- com.google.api-client:google-api-client:jar:1.31.4:compile [INFO] +- com.google.cloud:google-cloud-nio:jar:0.122.12:compile [INFO] | +- com.google.apis:google-api-services-storage:jar:v1-rev20210127-1.31.0:compile [INFO] | - javax.inject:javax.inject:jar:1:compile [INFO] +- com.google.cloud:google-cloud-storage:jar:2.5.0:compile [INFO] +- com.google.apis:google-api-services-dfareporting:jar:v4-rev20220920-2.0.0:compile [INFO] +- org.apache.commons:commons-collections4:jar:4.4:compile [INFO] +- org.projectlombok:lombok:jar:1.18.20:provided [INFO] +- com.companyname.data:data-commons-spark-tests:jar:1.3.1:test [INFO] | +- com.holdenkarau:spark-testing-base_2.11:jar:2.4.5_0.14.0:test [INFO] | | +- org.apache.spark:spark-streaming_2.11:jar:2.4.5:test [INFO] | | +- org.apache.spark:spark-yarn_2.11:jar:2.4.5:test [INFO] | | | +- org.apache.hadoop:hadoop-yarn-common:jar:2.6.5:provided [INFO] | | | | +- javax.xml.bind:jaxb-api:jar:2.2.2:provided [INFO] | | | | | - javax.xml.stream:stax-api:jar:1.0-2:provided [INFO] | | | | +- org.codehaus.jackson:jackson-jaxrs:jar:1.9.13:provided [INFO] | | | | +- org.codehaus.jackson:jackson-xc:jar:1.9.13:provided [INFO] | | | | - com.google.inject:guice:jar:3.0:provided [INFO] | | | | - aopalliance:aopalliance:jar:1.0:provided [INFO] | | | - org.apache.hadoop:hadoop-yarn-client:jar:2.6.5:provided [INFO] | | +- org.apache.spark:spark-mllib_2.11:jar:2.4.5:test [INFO] | | | +- org.apache.spark:spark-graphx_2.11:jar:2.4.5:test [INFO] | | | | +- com.github.fommil.netlib:core:jar:1.1.2:test [INFO] | | | | - net.sourceforge.f2j:arpack_combined_all:jar:0.1:test [INFO] | | | +- org.apache.spark:spark-mllib-local_2.11:jar:2.4.5:test [INFO] | | | - org.scalanlp:breeze_2.11:jar:0.13.2:test [INFO] | | | +- org.scalanlp:breeze-macros_2.11:jar:0.13.2:test [INFO] | | | +- com.github.rwl:jtransforms:jar:2.4.0:test [INFO] | | | +- org.spire-math:spire_2.11:jar:0.13.0:test [INFO] | | | | +- org.spire-math:spire-macros_2.11:jar:0.13.0:test [INFO] | | | | - org.typelevel:machinist_2.11:jar:0.6.1:test [INFO] | | | - com.chuusai:shapeless_2.11:jar:2.3.2:test [INFO] | | | - org.typelevel:macro-compat_2.11:jar:1.1.1:test [INFO] | | +- io.github.nicolasstucki:multisets_2.11:jar:0.4:test [INFO] | | +- org.scalacheck:scalacheck_2.11:jar:1.14.0:test [INFO] | | | - org.scala-sbt:test-interface:jar:1.0:test [INFO] | | +- org.eclipse.jetty:jetty-util:jar:9.3.11.v20160721:test [INFO] | | +- org.apache.hadoop:hadoop-hdfs:jar:tests:2.8.3:test [INFO] | | | +- org.apache.hadoop:hadoop-hdfs-client:jar:2.8.3:provided [INFO] | | | | - com.squareup.okhttp:okhttp:jar:2.4.0:provided [INFO] | | | | - com.squareup.okio:okio:jar:1.4.0:provided [INFO] | | | +- org.mortbay.jetty:jetty:jar:6.1.26:provided [INFO] | | | +- org.mortbay.jetty:jetty-util:jar:6.1.26:provided [INFO] | | | +- com.sun.jersey:jersey-core:jar:1.9:provided [INFO] | | | +- com.sun.jersey:jersey-server:jar:1.9:provided [INFO] | | | | - asm:asm:jar:3.1:provided [INFO] | | | +- commons-daemon:commons-daemon:jar:1.0.13:provided [INFO] | | | +- xmlenc:xmlenc:jar:0.52:provided [INFO] | | | +- xerces:xercesImpl:jar:2.9.1:provided [INFO] | | | | - xml-apis:xml-apis:jar:1.3.04:provided [INFO] | | | - org.apache.htrace:htrace-core4:jar:4.0.1-incubating:provided [INFO] | | +- org.apache.hadoop:hadoop-hdfs:jar:2.8.3:provided [INFO] | | +- org.apache.hadoop:hadoop-common:jar:tests:2.8.3:test [INFO] | | | +- org.mortbay.jetty:jetty-sslengine:jar:6.1.26:provided [INFO] | | | +- javax.servlet.jsp:jsp-api:jar:2.1:provided [INFO] | | | +- com.sun.jersey:jersey-json:jar:1.9:provided [INFO] | | | +- net.java.dev.jets3t:jets3t:jar:0.9.0:provided [INFO] | | | +- commons-configuration:commons-configuration:jar:1.6:provided [INFO] | | | | - commons-beanutils:commons-beanutils-core:jar:1.8.0:provided [INFO] | | | +- org.apache.hadoop:hadoop-auth:jar:2.8.3:provided [INFO] | | | | +- com.nimbusds:nimbus-jose-jwt:jar:3.9:provided [INFO] | | | | | +- net.jcip:jcip-annotations:jar:1.0:provided [INFO] | | | | | - net.minidev:json-smart:jar:1.1.1:provided [INFO] | | | | - org.apache.directory.server:apacheds-kerberos-codec:jar:2.0.0-M15:provided [INFO] | | | | +- org.apache.directory.server:apacheds-i18n:jar:2.0.0-M15:provided [INFO] | | | | +- org.apache.directory.api:api-asn1-api:jar:1.0.0-M20:provided [INFO] | | | | - org.apache.directory.api:api-util:jar:1.0.0-M20:provided [INFO] | | | +- com.jcraft:jsch:jar:0.1.54:provided [INFO] | | | - org.apache.curator:curator-client:jar:2.7.1:provided [INFO] | | +- org.apache.hadoop:hadoop-common:jar:2.8.3:provided [INFO] | | +- org.apache.hadoop:hadoop-client:jar:tests:2.8.3:test [INFO] | | +- org.apache.hadoop:hadoop-mapreduce-client-jobclient:jar:tests:2.8.3:test [INFO] | | | +- org.apache.hadoop:hadoop-mapreduce-client-common:jar:2.8.3:provided [INFO] | | | +- org.apache.hadoop:hadoop-mapreduce-client-shuffle:jar:2.8.3:provided [INFO] | | | - com.google.inject.extensions:guice-servlet:jar:3.0:provided [INFO] | | +- org.apache.hadoop:hadoop-mapreduce-client-jobclient:jar:2.8.3:provided [INFO] | | +- org.apache.hadoop:hadoop-yarn-server-tests:jar:tests:2.8.3:test [INFO] | | | +- org.apache.hadoop:hadoop-yarn-server-common:jar:2.8.3:provided [INFO] | | | +- org.apache.hadoop:hadoop-yarn-server-nodemanager:jar:2.8.3:provided [INFO] | | | | +- org.codehaus.jettison:jettison:jar:1.1:provided [INFO] | | | | +- com.sun.jersey:jersey-client:jar:1.9:provided [INFO] | | | | - com.sun.jersey.contribs:jersey-guice:jar:1.9:provided [INFO] | | | - org.apache.hadoop:hadoop-yarn-server-resourcemanager:jar:2.8.3:test [INFO] | | | +- org.apache.hadoop:hadoop-yarn-server-applicationhistoryservice:jar:2.8.3:test [INFO] | | | | - de.ruedigermoeller:fst:jar:2.50:test [INFO] | | | | - com.cedarsoftware:java-util:jar:1.9.0:test [INFO] | | | | - com.cedarsoftware:json-io:jar:2.5.1:test [INFO] | | | +- org.apache.curator:curator-test:jar:2.7.1:test [INFO] | | | | - org.apache.commons:commons-math:jar:2.2:test [INFO] | | | - org.apache.zookeeper:zookeeper:test-jar:tests:3.4.6:test [INFO] | | +- org.apache.hadoop:hadoop-yarn-server-tests:jar:2.8.3:test [INFO] | | +- org.apache.hadoop:hadoop-yarn-server-web-proxy:jar:tests:2.8.3:test [INFO] | | +- org.apache.hadoop:hadoop-yarn-server-web-proxy:jar:2.8.3:test [INFO] | | - org.apache.hadoop:hadoop-minicluster:jar:2.8.3:test [INFO] | | - org.apache.hadoop:hadoop-mapreduce-client-hs:jar:2.8.3:test [INFO] | +- org.scalatest:scalatest_2.11:jar:3.0.5:test [INFO] | | +- org.scalactic:scalactic_2.11:jar:3.0.5:test [INFO] | | +- org.scala-lang:scala-reflect:jar:2.11.12:provided [INFO] | | - org.scala-lang.modules:scala-xml_2.11:jar:1.0.6:provided [INFO] | +- org.junit.jupiter:junit-jupiter:jar:5.7.1:test [INFO] | | +- org.junit.jupiter:junit-jupiter-api:jar:5.7.1:test [INFO] | | | +- org.apiguardian:apiguardian-api:jar:1.1.0:test [INFO] | | | +- org.opentest4j:opentest4j:jar:1.2.0:test [INFO] | | | - org.junit.platform:junit-platform-commons:jar:1.7.1:test [INFO] | | +- org.junit.jupiter:junit-jupiter-params:jar:5.7.1:test [INFO] | | - org.junit.jupiter:junit-jupiter-engine:jar:5.7.1:test [INFO] | | - org.junit.platform:junit-platform-engine:jar:1.7.1:test [INFO] | +- junit:junit:jar:4.13.2:test [INFO] | - com.fasterxml.jackson.module:jackson-module-scala_2.11:jar:2.12.3:provided [INFO] | - com.fasterxml.jackson.core:jackson-annotations:jar:2.12.3:provided [INFO] +- org.easymock:easymock:jar:4.3:test [INFO] | - org.objenesis:objenesis:jar:3.2:provided [INFO] +- org.powermock:powermock-module-junit4:jar:2.0.9:test [INFO] | +- org.powermock:powermock-module-junit4-common:jar:2.0.9:test [INFO] | | - org.powermock:powermock-reflect:jar:2.0.9:test [INFO] | - org.hamcrest:hamcrest-core:jar:1.3:test [INFO] +- org.powermock:powermock-api-mockito2:jar:2.0.9:test [INFO] | +- org.powermock:powermock-api-support:jar:2.0.9:test [INFO] | - org.mockito:mockito-core:jar:3.9.0:test [INFO] +- org.powermock:powermock-module-junit4-rule-agent:jar:2.0.9:test [INFO] | - org.powermock:powermock-core:jar:2.0.9:test [INFO] | +- org.javassist:javassist:jar:3.27.0-GA:provided [INFO] | +- net.bytebuddy:byte-buddy:jar:1.10.14:test [INFO] | - net.bytebuddy:byte-buddy-agent:jar:1.10.14:test [INFO] +- org.powermock:powermock-module-javaagent:jar:2.0.9:test [INFO] +- org.apache.spark:spark-core_2.11:jar:2.4.5:provided [INFO] | +- com.thoughtworks.paranamer:paranamer:jar:2.8:provided [INFO] | +- org.apache.avro:avro:jar:1.8.2:provided [INFO] | | +- org.codehaus.jackson:jackson-core-asl:jar:1.9.13:provided [INFO] | | +- org.apache.commons:commons-compress:jar:1.8.1:provided [INFO] | | - org.tukaani:xz:jar:1.5:provided [INFO] | +- org.apache.avro:avro-mapred:jar:hadoop2:1.8.2:provided [INFO] | | - org.apache.avro:avro-ipc:jar:1.8.2:provided [INFO] | +- com.twitter:chill_2.11:jar:0.9.3:provided [INFO] | | - com.esotericsoftware:kryo-shaded:jar:4.0.2:provided [INFO] | | - com.esotericsoftware:minlog:jar:1.3.0:provided [INFO] | +- com.twitter:chill-java:jar:0.9.3:provided [INFO] | +- org.apache.xbean:xbean-asm6-shaded:jar:4.8:provided [INFO] | +- org.apache.hadoop:hadoop-client:jar:2.6.5:provided [INFO] | | +- org.apache.hadoop:hadoop-mapreduce-client-app:jar:2.6.5:provided [INFO] | | +- org.apache.hadoop:hadoop-yarn-api:jar:2.6.5:provided [INFO] | | +- org.apache.hadoop:hadoop-mapreduce-client-core:jar:2.6.5:provided [INFO] | | - org.apache.hadoop:hadoop-annotations:jar:2.6.5:provided [INFO] | +- org.apache.spark:spark-launcher_2.11:jar:2.4.5:provided [INFO] | +- org.apache.spark:spark-kvstore_2.11:jar:2.4.5:provided [INFO] | | - org.fusesource.leveldbjni:leveldbjni-all:jar:1.8:provided [INFO] | +- org.apache.spark:spark-network-common_2.11:jar:2.4.5:provided [INFO] | +- org.apache.spark:spark-network-shuffle_2.11:jar:2.4.5:provided [INFO] | +- org.apache.spark:spark-unsafe_2.11:jar:2.4.5:provided [INFO] | +- javax.activation:activation:jar:1.1.1:provided [INFO] | +- org.apache.curator:curator-recipes:jar:2.6.0:provided [INFO] | | - org.apache.curator:curator-framework:jar:2.6.0:provided [INFO] | +- org.apache.zookeeper:zookeeper:jar:3.4.6:provided [INFO] | +- javax.servlet:javax.servlet-api:jar:3.1.0:provided [INFO] | +- org.apache.commons:commons-math3:jar:3.4.1:provided [INFO] | +- org.slf4j:jul-to-slf4j:jar:1.7.16:provided [INFO] | +- org.slf4j:jcl-over-slf4j:jar:1.7.16:provided [INFO] | +- log4j:log4j:jar:1.2.17:compile [INFO] | +- com.ning:compress-lzf:jar:1.0.3:provided [INFO] | +- org.xerial.snappy:snappy-java:jar:1.1.7.3:provided [INFO] | +- org.lz4:lz4-java:jar:1.4.0:provided [INFO] | +- com.github.luben:zstd-jni:jar:1.3.2-2:provided [INFO] | +- org.roaringbitmap:RoaringBitmap:jar:0.7.45:provided [INFO] | | - org.roaringbitmap:shims:jar:0.7.45:provided [INFO] | +- commons-net:commons-net:jar:3.1:provided [INFO] | +- org.scala-lang:scala-library:jar:2.11.12:provided [INFO] | +- org.json4s:json4s-jackson_2.11:jar:3.5.3:provided [INFO] | | - org.json4s:json4s-core_2.11:jar:3.5.3:provided [INFO] | | +- org.json4s:json4s-ast_2.11:jar:3.5.3:provided [INFO] | | - org.json4s:json4s-scalap_2.11:jar:3.5.3:provided [INFO] | +- org.glassfish.jersey.core:jersey-client:jar:2.22.2:provided [INFO] | | +- javax.ws.rs:javax.ws.rs-api:jar:2.0.1:provided [INFO] | | +- org.glassfish.hk2:hk2-api:jar:2.4.0-b34:provided [INFO] | | | +- org.glassfish.hk2:hk2-utils:jar:2.4.0-b34:provided [INFO] | | | - org.glassfish.hk2.external:aopalliance-repackaged:jar:2.4.0-b34:provided [INFO] | | +- org.glassfish.hk2.external:javax.inject:jar:2.4.0-b34:provided [INFO] | | - org.glassfish.hk2:hk2-locator:jar:2.4.0-b34:provided [INFO] | +- org.glassfish.jersey.core:jersey-common:jar:2.22.2:provided [INFO] | | +- org.glassfish.jersey.bundles.repackaged:jersey-guava:jar:2.22.2:provided [INFO] | | - org.glassfish.hk2:osgi-resource-locator:jar:1.0.1:provided [INFO] | +- org.glassfish.jersey.core:jersey-server:jar:2.22.2:provided [INFO] | | +- org.glassfish.jersey.media:jersey-media-jaxb:jar:2.22.2:provided [INFO] | | - javax.validation:validation-api:jar:1.1.0.Final:provided [INFO] | +- org.glassfish.jersey.containers:jersey-container-servlet:jar:2.22.2:provided [INFO] | +- org.glassfish.jersey.containers:jersey-container-servlet-core:jar:2.22.2:provided [INFO] | +- io.netty:netty-all:jar:4.1.42.Final:provided [INFO] | +- io.netty:netty:jar:3.9.9.Final:provided [INFO] | +- com.clearspring.analytics:stream:jar:2.7.0:provided [INFO] | +- io.dropwizard.metrics:metrics-core:jar:3.1.5:provided [INFO] | +- io.dropwizard.metrics:metrics-jvm:jar:3.1.5:provided [INFO] | +- io.dropwizard.metrics:metrics-json:jar:3.1.5:provided [INFO] | +- io.dropwizard.metrics:metrics-graphite:jar:3.1.5:provided [INFO] | +- com.fasterxml.jackson.core:jackson-databind:jar:2.12.3:provided [INFO] | +- org.apache.ivy:ivy:jar:2.4.0:provided [INFO] | +- net.razorvine:pyrolite:jar:4.13:provided [INFO] | +- net.sf.py4j:py4j:jar:0.10.7:provided [INFO] | +- org.apache.spark:spark-tags_2.11:jar:2.4.5:provided [INFO] | +- org.apache.commons:commons-crypto:jar:1.0.0:provided [INFO] | - org.spark-project.spark:unused:jar:1.0.0:provided [INFO] +- org.apache.spark:spark-sql_2.11:jar:2.4.5:provided [INFO] | +- com.univocity:univocity-parsers:jar:2.7.3:provided [INFO] | +- org.apache.spark:spark-sketch_2.11:jar:2.4.5:provided [INFO] | +- org.apache.spark:spark-catalyst_2.11:jar:2.4.5:provided [INFO] | | +- org.scala-lang.modules:scala-parser-combinators_2.11:jar:1.1.0:provided [INFO] | | +- org.codehaus.janino:janino:jar:3.0.9:provided [INFO] | | +- org.codehaus.janino:commons-compiler:jar:3.0.9:provided [INFO] | | - org.antlr:antlr4-runtime:jar:4.7:provided [INFO] | +- org.apache.orc:orc-core:jar:nohive:1.5.5:provided [INFO] | | +- org.apache.orc:orc-shims:jar:1.5.5:provided [INFO] | | - io.airlift:aircompressor:jar:0.10:provided [INFO] | +- org.apache.orc:orc-mapreduce:jar:nohive:1.5.5:provided [INFO] | +- org.apache.parquet:parquet-column:jar:1.10.1:provided [INFO] | | +- org.apache.parquet:parquet-common:jar:1.10.1:provided [INFO] | | - org.apache.parquet:parquet-encoding:jar:1.10.1:provided [INFO] | +- org.apache.parquet:parquet-hadoop:jar:1.10.1:provided [INFO] | | +- org.apache.parquet:parquet-format:jar:2.4.0:provided [INFO] | | - org.apache.parquet:parquet-jackson:jar:1.10.1:provided [INFO] | - org.apache.arrow:arrow-vector:jar:0.10.0:provided [INFO] | +- org.apache.arrow:arrow-format:jar:0.10.0:provided [INFO] | +- org.apache.arrow:arrow-memory:jar:0.10.0:provided [INFO] | +- com.carrotsearch:hppc:jar:0.7.2:provided [INFO] | - com.vlkan:flatbuffers:jar:1.2.0-3f79e055:provided [INFO] +- org.apache.spark:spark-hive_2.11:jar:2.4.5:provided [INFO] | +- com.twitter:parquet-hadoop-bundle:jar:1.6.0:provided [INFO] | +- org.spark-project.hive:hive-exec:jar:1.2.1.spark2:provided [INFO] | | +- commons-io:commons-io:jar:2.8.0:provided [INFO] | | +- javolution:javolution:jar:5.5.1:provided [INFO] | | +- log4j:apache-log4j-extras:jar:1.2.17:provided [INFO] | | +- org.antlr:antlr-runtime:jar:3.4:provided [INFO] | | | - org.antlr:stringtemplate:jar:3.2.1:provided [INFO] | | +- org.antlr:ST4:jar:4.0.4:provided [INFO] | | +- com.googlecode.javaewah:JavaEWAH:jar:0.3.2:provided [INFO] | | +- org.iq80.snappy:snappy:jar:0.2:provided [INFO] | | +- stax:stax-api:jar:1.0.1:provided [INFO] | | - net.sf.opencsv:opencsv:jar:2.3:provided [INFO] | +- org.spark-project.hive:hive-metastore:jar:1.2.1.spark2:provided [INFO] | | +- com.jolbox:bonecp:jar:0.8.0.RELEASE:provided [INFO] | | +- commons-cli:commons-cli:jar:1.4:provided [INFO] | | +- org.datanucleus:datanucleus-api-jdo:jar:3.2.6:provided [INFO] | | +- org.datanucleus:datanucleus-rdbms:jar:3.2.9:provided [INFO] | | +- commons-pool:commons-pool:jar:1.5.4:provided [INFO] | | +- commons-dbcp:commons-dbcp:jar:1.4:provided [INFO] | | - javax.jdo:jdo-api:jar:3.0.1:provided [INFO] | | - javax.transaction:jta:jar:1.1:provided [INFO] | +- commons-httpclient:commons-httpclient:jar:3.1:provided [INFO] | +- org.apache.calcite:calcite-avatica:jar:1.2.0-incubating:provided [INFO] | +- org.apache.calcite:calcite-core:jar:1.2.0-incubating:provided [INFO] | | +- org.apache.calcite:calcite-linq4j:jar:1.2.0-incubating:provided [INFO] | | - net.hydromatic:eigenbase-properties:jar:1.1.5:provided [INFO] | +- org.codehaus.jackson:jackson-mapper-asl:jar:1.9.13:provided [INFO] | +- joda-time:joda-time:jar:2.9.3:provided [INFO] | +- org.jodd:jodd-core:jar:3.5.2:provided [INFO] | +- org.datanucleus:datanucleus-core:jar:3.2.10:provided [INFO] | +- org.apache.thrift:libthrift:jar:0.9.3:provided [INFO] | +- org.apache.thrift:libfb303:jar:0.9.3:provided [INFO] | - org.apache.derby:derby:jar:10.12.1.1:provided [INFO] - org.slf4j:slf4j-log4j12:jar:1.7.30:compile

jradcliff commented 11 months ago

Hi,

The libraries-bom and google-cloud-shared-dependencies serve similar but slightly different purposes.

I'm assuming that you are using some of the client libraries for Google Cloud APIs listed here:

https://github.com/googleapis/java-cloud-bom

If so, then could you try the following?

  1. Update your dependencyManagement to version 26.22.0 of libraries-bom. This is the version that should be compatible with the version of google-cloud-shared-dependencies used by version 28.0.0 of this library. You are currently using version 20.1.0 of libraries-bom, which is quite outdated and is what is pulling in old versions of other libraries such as the auth library.
  2. Remove google-cloud-shared-dependencies from dependencyManagement.
  3. Remove the entries for guava, google-auth-library-credentials, google-auth-library-oauth2-http, gax-grpc, and gax from dependencyManagement. These are redundant because dependencyManagement is already importing libraries-bom.
  4. In the dependencies section of your pom.xml, do not specify a version for any of the dependencies included in libraries-bom. You want Maven to use libraries-bom to resolve the version of each of those dependencies.

Please give that a try and let me know if that resolves the issue for you.

Thanks, Josh, Google Ads API Team

harmonychan commented 11 months ago

I have done all as suggested, updating libraries-bom to 26.22.0, removing entries for guava, auth libraries, gax-grpc, gax, and protobuf, and ensuring that the dependencies section do not specify a version of any of the dependencies. The only dependency in dependency management is libraries-bom. I am getting this runtime error now:

RuntimeException while executing runnable CallbackListener{com.shaded.google.auth.oauth2.OAuth2Credentials$FutureCallbackToMetadataCallbackAdapter@3a83370f} with executor MoreExecutors.directExecutor() io.grpc.StatusRuntimeException: INTERNAL: Failed to frame message at io.grpc.Status.asRuntimeException(Status.java:530) at io.grpc.internal.MessageFramer.writePayload(MessageFramer.java:154) at io.grpc.internal.AbstractStream.writeMessage(AbstractStream.java:66) at io.grpc.internal.DelayedStream$6.run(DelayedStream.java:283) at io.grpc.internal.DelayedStream.drainPendingCalls(DelayedStream.java:182) at io.grpc.internal.DelayedStream.access$100(DelayedStream.java:44) at io.grpc.internal.DelayedStream$4.run(DelayedStream.java:148) at io.grpc.internal.MetadataApplierImpl.finalizeWith(MetadataApplierImpl.java:111) at io.grpc.internal.MetadataApplierImpl.apply(MetadataApplierImpl.java:78) at io.grpc.auth.GoogleAuthLibraryCallCredentials$1.onSuccess(GoogleAuthLibraryCallCredentials.java:141) at com.shaded.google.auth.oauth2.OAuth2Credentials$FutureCallbackToMetadataCallbackAdapter.onSuccess(OAuth2Credentials.java:550) at com.shaded.google.auth.oauth2.OAuth2Credentials$FutureCallbackToMetadataCallbackAdapter.onSuccess(OAuth2Credentials.java:541) at org.shaded.guava.util.concurrent.Futures$CallbackListener.run(Futures.java:1133) at org.shaded.guava.util.concurrent.DirectExecutor.execute(DirectExecutor.java:31) at org.shaded.guava.util.concurrent.AbstractFuture.executeListener(AbstractFuture.java:1286) at org.shaded.guava.util.concurrent.AbstractFuture.complete(AbstractFuture.java:1055) at org.shaded.guava.util.concurrent.AbstractFuture.set(AbstractFuture.java:782) at com.shaded.google.auth.oauth2.OAuth2Credentials$RefreshTask.access$400(OAuth2Credentials.java:600) at com.shaded.google.auth.oauth2.OAuth2Credentials$RefreshTask$1.onSuccess(OAuth2Credentials.java:617) at com.shaded.google.auth.oauth2.OAuth2Credentials$RefreshTask$1.onSuccess(OAuth2Credentials.java:614) at org.shaded.guava.util.concurrent.Futures$CallbackListener.run(Futures.java:1133) at org.shaded.guava.util.concurrent.DirectExecutor.execute(DirectExecutor.java:31) at org.shaded.guava.util.concurrent.ExecutionList.executeListener(ExecutionList.java:145) at org.shaded.guava.util.concurrent.ExecutionList.execute(ExecutionList.java:134) at org.shaded.guava.util.concurrent.ListenableFutureTask.done(ListenableFutureTask.java:113) at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:384) at java.util.concurrent.FutureTask.set(FutureTask.java:233) at java.util.concurrent.FutureTask.run(FutureTask.java:274) at com.shaded.google.auth.oauth2.OAuth2Credentials$RefreshTask.run(OAuth2Credentials.java:633) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748)

Here is my dependencies section: `

com.google.cloud libraries-bom 26.22.0 pom import
<dependencies>
    <dependency>
        <groupId>com.google.guava</groupId>
        <artifactId>guava</artifactId>
    </dependency>
    <dependency>
        <groupId>com.google.apis</groupId>
        <artifactId>google-api-services-searchconsole</artifactId>
        <version>v1-rev20211026-1.32.1</version>
    </dependency>
    <dependency>
        <groupId>com.google.api-ads</groupId>
        <artifactId>google-ads</artifactId>
        <version>${google-ads.version}</version>
    </dependency>
    <dependency>
        <groupId>com.google.protobuf</groupId>
        <artifactId>protobuf-java</artifactId>
    </dependency>
    <dependency>
        <groupId>com.google.api</groupId>
        <artifactId>gax-grpc</artifactId>
    </dependency>
    <dependency>
        <groupId>com.google.api</groupId>
        <artifactId>gax</artifactId>
    </dependency>
    <dependency>
        <groupId>org.slf4j</groupId>
        <artifactId>slf4j-api</artifactId>
        <version>1.7.30</version>
    </dependency>
    <dependency>
        <groupId>com.opencsv</groupId>
        <artifactId>opencsv</artifactId>
        <version>5.4</version>
    </dependency>
    <dependency>
        <groupId>org.apache.velocity</groupId>
        <artifactId>velocity</artifactId>
        <version>1.7</version>
    </dependency>
    <dependency>
        <groupId>org.apache.velocity</groupId>
        <artifactId>velocity-tools</artifactId>
        <version>2.0</version>
    </dependency>
    <dependency>
        <groupId>com.google.cloud</groupId>
        <artifactId>google-cloud-bigquery</artifactId>
        <version>2.10.0</version>
    </dependency>
    <dependency>
        <groupId>com.google.api-client</groupId>
        <artifactId>google-api-client</artifactId>
        <version>1.31.4</version>
    </dependency>
    <dependency>
        <groupId>com.google.cloud</groupId>
        <artifactId>google-cloud-nio</artifactId>
    </dependency>
    <dependency>
        <groupId>com.google.cloud</groupId>
        <artifactId>google-cloud-storage</artifactId>
        <version>2.5.0</version>
    </dependency>
    <dependency>
        <groupId>com.google.apis</groupId>
        <artifactId>google-api-services-dfareporting</artifactId>
        <version>v4-rev20220920-2.0.0</version>
    </dependency>
    <dependency>
        <groupId>org.apache.commons</groupId>
        <artifactId>commons-collections4</artifactId>
        <version>4.4</version>
    </dependency>
</dependencies>`
jradcliff commented 11 months ago

Could you share the dependency:tree output now that you've made those changes?

harmonychan commented 11 months ago

[INFO] +- com.companyname.data:internal-core:jar:1.11.5-SNAPSHOT:compile [INFO] +- com.google.guava:guava:jar:32.1.2-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.code.findbugs:jsr305:jar:3.0.2:compile [INFO] | +- org.checkerframework:checker-qual:jar:3.33.0:compile [INFO] | +- com.google.errorprone:error_prone_annotations:jar:2.18.0:compile [INFO] | - com.google.j2objc:j2objc-annotations:jar:2.8:compile [INFO] +- com.google.apis:google-api-services-searchconsole:jar:v1-rev20211026-1.32.1:compile [INFO] +- com.google.api-ads:google-ads:jar:28.0.0:compile [INFO] | +- io.grpc:grpc-stub:jar:1.56.1:compile [INFO] | +- io.grpc:grpc-protobuf:jar:1.56.1:compile [INFO] | +- com.google.auth:google-auth-library-oauth2-http:jar:1.19.0:compile [INFO] | +- com.google.auth:google-auth-library-credentials:jar:1.19.0:compile [INFO] | +- com.google.api-ads:google-ads-codegen:jar:28.0.0:compile [INFO] | | +- com.google.api-ads:google-ads-stubs-lib:jar:28.0.0:compile [INFO] | | +- com.google.api-ads:google-ads-stubs-v13:jar:28.0.0:compile [INFO] | | +- com.google.api-ads:google-ads-stubs-v14:jar:28.0.0:compile [INFO] | | +- com.google.api-ads:google-ads-stubs-v15:jar:28.0.0:compile [INFO] | | - com.squareup:javapoet:jar:1.11.1:runtime [INFO] | +- com.google.protobuf:protobuf-java-util:jar:3.23.2:compile [INFO] | +- com.google.auto.service:auto-service:jar:1.0.1:runtime [INFO] | | +- com.google.auto.service:auto-service-annotations:jar:1.0.1:runtime [INFO] | | - com.google.auto:auto-common:jar:1.2:runtime [INFO] | +- javax.annotation:javax.annotation-api:jar:1.3.2:compile [INFO] | - com.google.auto.value:auto-value-annotations:jar:1.10.2:compile [INFO] +- com.google.protobuf:protobuf-java:jar:3.23.2:compile [INFO] +- com.google.api:gax-grpc:jar:2.32.0:compile [INFO] | +- com.google.api:api-common:jar:2.15.0:compile [INFO] | +- com.google.api.grpc:proto-google-common-protos:jar:2.23.0:compile [INFO] | +- io.grpc:grpc-api:jar:1.56.1:compile [INFO] | +- org.threeten:threetenbp:jar:1.6.8:compile [INFO] | +- io.grpc:grpc-alts:jar:1.56.1:compile [INFO] | +- io.grpc:grpc-auth:jar:1.56.1:compile [INFO] | +- io.grpc:grpc-netty-shaded:jar:1.56.1:compile [INFO] | - io.grpc:grpc-googleapis:jar:1.56.1:runtime [INFO] +- com.google.api:gax:jar:2.32.0:compile [INFO] | - io.opencensus:opencensus-api:jar:0.31.1:compile [INFO] +- org.slf4j:slf4j-api:jar:1.7.30:compile [INFO] +- com.opencsv:opencsv:jar:5.4:compile [INFO] | +- org.apache.commons:commons-lang3:jar:3.12.0:compile [INFO] | +- org.apache.commons:commons-text:jar:1.9:compile [INFO] | - commons-beanutils:commons-beanutils:jar:1.9.4:compile [INFO] +- org.apache.velocity:velocity:jar:1.7:compile [INFO] | +- commons-collections:commons-collections:jar:3.2.1:compile [INFO] | - commons-lang:commons-lang:jar:2.4:compile [INFO] +- org.apache.velocity:velocity-tools:jar:2.0:compile [INFO] | +- commons-digester:commons-digester:jar:1.8:compile [INFO] | +- commons-chain:commons-chain:jar:1.1:compile [INFO] | +- commons-logging:commons-logging:jar:1.1:compile [INFO] | | - javax.servlet:servlet-api:jar:2.3:compile [INFO] | +- commons-validator:commons-validator:jar:1.3.1:compile [INFO] | +- dom4j:dom4j:jar:1.1:compile [INFO] | +- oro:oro:jar:2.0.8:compile [INFO] | +- sslext:sslext:jar:1.2-0:compile [INFO] | +- org.apache.struts:struts-core:jar:1.3.8:compile [INFO] | | - antlr:antlr:jar:2.7.2:compile [INFO] | +- org.apache.struts:struts-taglib:jar:1.3.8:compile [INFO] | - org.apache.struts:struts-tiles:jar:1.3.8:compile [INFO] +- com.google.cloud:google-cloud-bigquery:jar:2.10.0:compile [INFO] | +- com.google.cloud:google-cloud-core:jar:2.22.0:compile [INFO] | +- com.google.api.grpc:proto-google-iam-v1:jar:1.18.0:compile [INFO] | +- com.google.http-client:google-http-client-gson:jar:1.43.3:compile [INFO] | +- com.google.cloud:google-cloud-core-http:jar:2.22.0:compile [INFO] | +- com.google.oauth-client:google-oauth-client:jar:1.34.1:compile [INFO] | +- com.google.http-client:google-http-client-apache-v2:jar:1.43.3:compile [INFO] | +- com.google.http-client:google-http-client-appengine:jar:1.43.3:compile [INFO] | +- com.google.api:gax-httpjson:jar:2.32.0:compile [INFO] | +- io.grpc:grpc-context:jar:1.56.1:compile [INFO] | +- io.opencensus:opencensus-contrib-http-util:jar:0.31.0:compile [INFO] | +- com.google.http-client:google-http-client-jackson2:jar:1.43.3:compile [INFO] | +- com.fasterxml.jackson.core:jackson-core:jar:2.12.3:compile [INFO] | +- com.google.http-client:google-http-client:jar:1.43.3:compile [INFO] | +- org.apache.httpcomponents:httpclient:jar:4.5.13:compile [INFO] | +- commons-codec:commons-codec:jar:1.15:compile [INFO] | +- org.apache.httpcomponents:httpcore:jar:4.4.14:compile [INFO] | +- org.checkerframework:checker-compat-qual:jar:2.5.5:compile [INFO] | +- com.google.apis:google-api-services-bigquery:jar:v2-rev20220307-1.32.1:compile [INFO] | +- com.google.code.gson:gson:jar:2.10.1:compile [INFO] | - org.threeten:threeten-extra:jar:1.7.0:compile [INFO] +- com.google.api-client:google-api-client:jar:1.31.4:compile [INFO] +- com.google.cloud:google-cloud-nio:jar:0.127.1:compile [INFO] | +- com.google.apis:google-api-services-storage:jar:v1-rev20230617-2.0.0:compile [INFO] | - javax.inject:javax.inject:jar:1:compile [INFO] +- com.google.cloud:google-cloud-storage:jar:2.26.0:compile [INFO] | +- com.google.cloud:google-cloud-core-grpc:jar:2.22.0:compile [INFO] | +- io.grpc:grpc-grpclb:jar:1.56.1:compile [INFO] | +- org.conscrypt:conscrypt-openjdk-uber:jar:2.5.2:compile [INFO] | +- io.grpc:grpc-protobuf-lite:jar:1.56.1:compile [INFO] | +- com.google.api.grpc:proto-google-cloud-storage-v2:jar:2.26.0-alpha:compile [INFO] | +- com.google.api.grpc:grpc-google-cloud-storage-v2:jar:2.26.0-alpha:compile [INFO] | +- com.google.api.grpc:gapic-google-cloud-storage-v2:jar:2.26.0-alpha:compile [INFO] | +- io.perfmark:perfmark-api:jar:0.26.0:runtime [INFO] | +- io.grpc:grpc-core:jar:1.56.1:compile [INFO] | +- com.google.android:annotations:jar:4.1.1.4:runtime [INFO] | +- org.codehaus.mojo:animal-sniffer-annotations:jar:1.23:runtime [INFO] | +- io.grpc:grpc-xds:jar:1.56.1:runtime [INFO] | +- io.opencensus:opencensus-proto:jar:0.2.0:runtime [INFO] | +- io.grpc:grpc-services:jar:1.56.1:runtime [INFO] | +- com.google.re2j:re2j:jar:1.7:runtime [INFO] | - io.grpc:grpc-rls:jar:1.56.1:runtime [INFO] +- com.google.apis:google-api-services-dfareporting:jar:v4-rev20220920-2.0.0:compile [INFO] +- org.apache.commons:commons-collections4:jar:4.4:compile [INFO] +- org.projectlombok:lombok:jar:1.18.20:provided [INFO] +- com.companyname.data:data-commons-spark-tests:jar:1.3.1:test [INFO] | +- com.holdenkarau:spark-testing-base_2.11:jar:2.4.5_0.14.0:test [INFO] | | +- org.apache.spark:spark-streaming_2.11:jar:2.4.5:test [INFO] | | +- org.apache.spark:spark-yarn_2.11:jar:2.4.5:test [INFO] | | | +- org.apache.hadoop:hadoop-yarn-common:jar:2.6.5:provided [INFO] | | | | +- javax.xml.bind:jaxb-api:jar:2.2.2:provided [INFO] | | | | | - javax.xml.stream:stax-api:jar:1.0-2:provided [INFO] | | | | +- org.codehaus.jackson:jackson-jaxrs:jar:1.9.13:provided [INFO] | | | | +- org.codehaus.jackson:jackson-xc:jar:1.9.13:provided [INFO] | | | | - com.google.inject:guice:jar:3.0:provided [INFO] | | | | - aopalliance:aopalliance:jar:1.0:provided [INFO] | | | - org.apache.hadoop:hadoop-yarn-client:jar:2.6.5:provided [INFO] | | +- org.apache.spark:spark-mllib_2.11:jar:2.4.5:test [INFO] | | | +- org.apache.spark:spark-graphx_2.11:jar:2.4.5:test [INFO] | | | | +- com.github.fommil.netlib:core:jar:1.1.2:test [INFO] | | | | - net.sourceforge.f2j:arpack_combined_all:jar:0.1:test [INFO] | | | +- org.apache.spark:spark-mllib-local_2.11:jar:2.4.5:test [INFO] | | | - org.scalanlp:breeze_2.11:jar:0.13.2:test [INFO] | | | +- org.scalanlp:breeze-macros_2.11:jar:0.13.2:test [INFO] | | | +- com.github.rwl:jtransforms:jar:2.4.0:test [INFO] | | | +- org.spire-math:spire_2.11:jar:0.13.0:test [INFO] | | | | +- org.spire-math:spire-macros_2.11:jar:0.13.0:test [INFO] | | | | - org.typelevel:machinist_2.11:jar:0.6.1:test [INFO] | | | - com.chuusai:shapeless_2.11:jar:2.3.2:test [INFO] | | | - org.typelevel:macro-compat_2.11:jar:1.1.1:test [INFO] | | +- io.github.nicolasstucki:multisets_2.11:jar:0.4:test [INFO] | | +- org.scalacheck:scalacheck_2.11:jar:1.14.0:test [INFO] | | | - org.scala-sbt:test-interface:jar:1.0:test [INFO] | | +- org.eclipse.jetty:jetty-util:jar:9.3.11.v20160721:test [INFO] | | +- org.apache.hadoop:hadoop-hdfs:jar:tests:2.8.3:test [INFO] | | | +- org.apache.hadoop:hadoop-hdfs-client:jar:2.8.3:provided [INFO] | | | | - com.squareup.okhttp:okhttp:jar:2.4.0:provided [INFO] | | | | - com.squareup.okio:okio:jar:1.4.0:provided [INFO] | | | +- org.mortbay.jetty:jetty:jar:6.1.26:provided [INFO] | | | +- org.mortbay.jetty:jetty-util:jar:6.1.26:provided [INFO] | | | +- com.sun.jersey:jersey-core:jar:1.9:provided [INFO] | | | +- com.sun.jersey:jersey-server:jar:1.9:provided [INFO] | | | | - asm:asm:jar:3.1:provided [INFO] | | | +- commons-daemon:commons-daemon:jar:1.0.13:provided [INFO] | | | +- xmlenc:xmlenc:jar:0.52:provided [INFO] | | | +- xerces:xercesImpl:jar:2.9.1:provided [INFO] | | | | - xml-apis:xml-apis:jar:1.3.04:provided [INFO] | | | - org.apache.htrace:htrace-core4:jar:4.0.1-incubating:provided [INFO] | | +- org.apache.hadoop:hadoop-hdfs:jar:2.8.3:provided [INFO] | | +- org.apache.hadoop:hadoop-common:jar:tests:2.8.3:test [INFO] | | | +- org.mortbay.jetty:jetty-sslengine:jar:6.1.26:provided [INFO] | | | +- javax.servlet.jsp:jsp-api:jar:2.1:provided [INFO] | | | +- com.sun.jersey:jersey-json:jar:1.9:provided [INFO] | | | +- net.java.dev.jets3t:jets3t:jar:0.9.0:provided [INFO] | | | +- commons-configuration:commons-configuration:jar:1.6:provided [INFO] | | | | - commons-beanutils:commons-beanutils-core:jar:1.8.0:provided [INFO] | | | +- org.apache.hadoop:hadoop-auth:jar:2.8.3:provided [INFO] | | | | +- com.nimbusds:nimbus-jose-jwt:jar:3.9:provided [INFO] | | | | | +- net.jcip:jcip-annotations:jar:1.0:provided [INFO] | | | | | - net.minidev:json-smart:jar:1.1.1:provided [INFO] | | | | - org.apache.directory.server:apacheds-kerberos-codec:jar:2.0.0-M15:provided [INFO] | | | | +- org.apache.directory.server:apacheds-i18n:jar:2.0.0-M15:provided [INFO] | | | | +- org.apache.directory.api:api-asn1-api:jar:1.0.0-M20:provided [INFO] | | | | - org.apache.directory.api:api-util:jar:1.0.0-M20:provided [INFO] | | | +- com.jcraft:jsch:jar:0.1.54:provided [INFO] | | | - org.apache.curator:curator-client:jar:2.7.1:provided [INFO] | | +- org.apache.hadoop:hadoop-common:jar:2.8.3:provided [INFO] | | +- org.apache.hadoop:hadoop-client:jar:tests:2.8.3:test [INFO] | | +- org.apache.hadoop:hadoop-mapreduce-client-jobclient:jar:tests:2.8.3:test [INFO] | | | +- org.apache.hadoop:hadoop-mapreduce-client-common:jar:2.8.3:provided [INFO] | | | +- org.apache.hadoop:hadoop-mapreduce-client-shuffle:jar:2.8.3:provided [INFO] | | | - com.google.inject.extensions:guice-servlet:jar:3.0:provided [INFO] | | +- org.apache.hadoop:hadoop-mapreduce-client-jobclient:jar:2.8.3:provided [INFO] | | +- org.apache.hadoop:hadoop-yarn-server-tests:jar:tests:2.8.3:test [INFO] | | | +- org.apache.hadoop:hadoop-yarn-server-common:jar:2.8.3:provided [INFO] | | | +- org.apache.hadoop:hadoop-yarn-server-nodemanager:jar:2.8.3:provided [INFO] | | | | +- org.codehaus.jettison:jettison:jar:1.1:provided [INFO] | | | | +- com.sun.jersey:jersey-client:jar:1.9:provided [INFO] | | | | - com.sun.jersey.contribs:jersey-guice:jar:1.9:provided [INFO] | | | - org.apache.hadoop:hadoop-yarn-server-resourcemanager:jar:2.8.3:test [INFO] | | | +- org.apache.hadoop:hadoop-yarn-server-applicationhistoryservice:jar:2.8.3:test [INFO] | | | | - de.ruedigermoeller:fst:jar:2.50:test [INFO] | | | | - com.cedarsoftware:java-util:jar:1.9.0:test [INFO] | | | | - com.cedarsoftware:json-io:jar:2.5.1:test [INFO] | | | +- org.apache.curator:curator-test:jar:2.7.1:test [INFO] | | | | - org.apache.commons:commons-math:jar:2.2:test [INFO] | | | - org.apache.zookeeper:zookeeper:test-jar:tests:3.4.6:test [INFO] | | +- org.apache.hadoop:hadoop-yarn-server-tests:jar:2.8.3:test [INFO] | | +- org.apache.hadoop:hadoop-yarn-server-web-proxy:jar:tests:2.8.3:test [INFO] | | +- org.apache.hadoop:hadoop-yarn-server-web-proxy:jar:2.8.3:test [INFO] | | - org.apache.hadoop:hadoop-minicluster:jar:2.8.3:test [INFO] | | - org.apache.hadoop:hadoop-mapreduce-client-hs:jar:2.8.3:test [INFO] | +- org.scalatest:scalatest_2.11:jar:3.0.5:test [INFO] | | +- org.scalactic:scalactic_2.11:jar:3.0.5:test [INFO] | | +- org.scala-lang:scala-reflect:jar:2.11.12:provided [INFO] | | - org.scala-lang.modules:scala-xml_2.11:jar:1.0.6:provided [INFO] | +- org.junit.jupiter:junit-jupiter:jar:5.7.1:test [INFO] | | +- org.junit.jupiter:junit-jupiter-api:jar:5.7.1:test [INFO] | | | +- org.apiguardian:apiguardian-api:jar:1.1.0:test [INFO] | | | +- org.opentest4j:opentest4j:jar:1.2.0:test [INFO] | | | - org.junit.platform:junit-platform-commons:jar:1.7.1:test [INFO] | | +- org.junit.jupiter:junit-jupiter-params:jar:5.7.1:test [INFO] | | - org.junit.jupiter:junit-jupiter-engine:jar:5.7.1:test [INFO] | | - org.junit.platform:junit-platform-engine:jar:1.7.1:test [INFO] | +- junit:junit:jar:4.13.2:test [INFO] | - com.fasterxml.jackson.module:jackson-module-scala_2.11:jar:2.12.3:provided [INFO] | - com.fasterxml.jackson.core:jackson-annotations:jar:2.12.3:provided [INFO] +- org.easymock:easymock:jar:4.3:test [INFO] | - org.objenesis:objenesis:jar:3.2:provided [INFO] +- org.powermock:powermock-module-junit4:jar:2.0.9:test [INFO] | +- org.powermock:powermock-module-junit4-common:jar:2.0.9:test [INFO] | | - org.powermock:powermock-reflect:jar:2.0.9:test [INFO] | - org.hamcrest:hamcrest-core:jar:1.3:test [INFO] +- org.powermock:powermock-api-mockito2:jar:2.0.9:test [INFO] | +- org.powermock:powermock-api-support:jar:2.0.9:test [INFO] | - org.mockito:mockito-core:jar:3.9.0:test [INFO] +- org.powermock:powermock-module-junit4-rule-agent:jar:2.0.9:test [INFO] | - org.powermock:powermock-core:jar:2.0.9:test [INFO] | +- org.javassist:javassist:jar:3.27.0-GA:provided [INFO] | +- net.bytebuddy:byte-buddy:jar:1.10.14:test [INFO] | - net.bytebuddy:byte-buddy-agent:jar:1.10.14:test [INFO] +- org.powermock:powermock-module-javaagent:jar:2.0.9:test [INFO] +- org.apache.spark:spark-core_2.11:jar:2.4.5:provided [INFO] | +- com.thoughtworks.paranamer:paranamer:jar:2.8:provided [INFO] | +- org.apache.avro:avro:jar:1.8.2:provided [INFO] | | +- org.codehaus.jackson:jackson-core-asl:jar:1.9.13:provided [INFO] | | +- org.apache.commons:commons-compress:jar:1.8.1:provided [INFO] | | - org.tukaani:xz:jar:1.5:provided [INFO] | +- org.apache.avro:avro-mapred:jar:hadoop2:1.8.2:provided [INFO] | | - org.apache.avro:avro-ipc:jar:1.8.2:provided [INFO] | +- com.twitter:chill_2.11:jar:0.9.3:provided [INFO] | | - com.esotericsoftware:kryo-shaded:jar:4.0.2:provided [INFO] | | - com.esotericsoftware:minlog:jar:1.3.0:provided [INFO] | +- com.twitter:chill-java:jar:0.9.3:provided [INFO] | +- org.apache.xbean:xbean-asm6-shaded:jar:4.8:provided [INFO] | +- org.apache.hadoop:hadoop-client:jar:2.6.5:provided [INFO] | | +- org.apache.hadoop:hadoop-mapreduce-client-app:jar:2.6.5:provided [INFO] | | +- org.apache.hadoop:hadoop-yarn-api:jar:2.6.5:provided [INFO] | | +- org.apache.hadoop:hadoop-mapreduce-client-core:jar:2.6.5:provided [INFO] | | - org.apache.hadoop:hadoop-annotations:jar:2.6.5:provided [INFO] | +- org.apache.spark:spark-launcher_2.11:jar:2.4.5:provided [INFO] | +- org.apache.spark:spark-kvstore_2.11:jar:2.4.5:provided [INFO] | | - org.fusesource.leveldbjni:leveldbjni-all:jar:1.8:provided [INFO] | +- org.apache.spark:spark-network-common_2.11:jar:2.4.5:provided [INFO] | +- org.apache.spark:spark-network-shuffle_2.11:jar:2.4.5:provided [INFO] | +- org.apache.spark:spark-unsafe_2.11:jar:2.4.5:provided [INFO] | +- javax.activation:activation:jar:1.1.1:provided [INFO] | +- org.apache.curator:curator-recipes:jar:2.6.0:provided [INFO] | | - org.apache.curator:curator-framework:jar:2.6.0:provided [INFO] | +- org.apache.zookeeper:zookeeper:jar:3.4.6:provided [INFO] | +- javax.servlet:javax.servlet-api:jar:3.1.0:provided [INFO] | +- org.apache.commons:commons-math3:jar:3.4.1:provided [INFO] | +- org.slf4j:jul-to-slf4j:jar:1.7.16:provided [INFO] | +- org.slf4j:jcl-over-slf4j:jar:1.7.16:provided [INFO] | +- log4j:log4j:jar:1.2.17:compile [INFO] | +- com.ning:compress-lzf:jar:1.0.3:provided [INFO] | +- org.xerial.snappy:snappy-java:jar:1.1.7.3:provided [INFO] | +- org.lz4:lz4-java:jar:1.4.0:provided [INFO] | +- com.github.luben:zstd-jni:jar:1.3.2-2:provided [INFO] | +- org.roaringbitmap:RoaringBitmap:jar:0.7.45:provided [INFO] | | - org.roaringbitmap:shims:jar:0.7.45:provided [INFO] | +- commons-net:commons-net:jar:3.1:provided [INFO] | +- org.scala-lang:scala-library:jar:2.11.12:provided [INFO] | +- org.json4s:json4s-jackson_2.11:jar:3.5.3:provided [INFO] | | - org.json4s:json4s-core_2.11:jar:3.5.3:provided [INFO] | | +- org.json4s:json4s-ast_2.11:jar:3.5.3:provided [INFO] | | - org.json4s:json4s-scalap_2.11:jar:3.5.3:provided [INFO] | +- org.glassfish.jersey.core:jersey-client:jar:2.22.2:provided [INFO] | | +- javax.ws.rs:javax.ws.rs-api:jar:2.0.1:provided [INFO] | | +- org.glassfish.hk2:hk2-api:jar:2.4.0-b34:provided [INFO] | | | +- org.glassfish.hk2:hk2-utils:jar:2.4.0-b34:provided [INFO] | | | - org.glassfish.hk2.external:aopalliance-repackaged:jar:2.4.0-b34:provided [INFO] | | +- org.glassfish.hk2.external:javax.inject:jar:2.4.0-b34:provided [INFO] | | - org.glassfish.hk2:hk2-locator:jar:2.4.0-b34:provided [INFO] | +- org.glassfish.jersey.core:jersey-common:jar:2.22.2:provided [INFO] | | +- org.glassfish.jersey.bundles.repackaged:jersey-guava:jar:2.22.2:provided [INFO] | | - org.glassfish.hk2:osgi-resource-locator:jar:1.0.1:provided [INFO] | +- org.glassfish.jersey.core:jersey-server:jar:2.22.2:provided [INFO] | | +- org.glassfish.jersey.media:jersey-media-jaxb:jar:2.22.2:provided [INFO] | | - javax.validation:validation-api:jar:1.1.0.Final:provided [INFO] | +- org.glassfish.jersey.containers:jersey-container-servlet:jar:2.22.2:provided [INFO] | +- org.glassfish.jersey.containers:jersey-container-servlet-core:jar:2.22.2:provided [INFO] | +- io.netty:netty-all:jar:4.1.42.Final:provided [INFO] | +- io.netty:netty:jar:3.9.9.Final:provided [INFO] | +- com.clearspring.analytics:stream:jar:2.7.0:provided [INFO] | +- io.dropwizard.metrics:metrics-core:jar:3.1.5:provided [INFO] | +- io.dropwizard.metrics:metrics-jvm:jar:3.1.5:provided [INFO] | +- io.dropwizard.metrics:metrics-json:jar:3.1.5:provided [INFO] | +- io.dropwizard.metrics:metrics-graphite:jar:3.1.5:provided [INFO] | +- com.fasterxml.jackson.core:jackson-databind:jar:2.12.3:provided [INFO] | +- org.apache.ivy:ivy:jar:2.4.0:provided [INFO] | +- net.razorvine:pyrolite:jar:4.13:provided [INFO] | +- net.sf.py4j:py4j:jar:0.10.7:provided [INFO] | +- org.apache.spark:spark-tags_2.11:jar:2.4.5:provided [INFO] | +- org.apache.commons:commons-crypto:jar:1.0.0:provided [INFO] | - org.spark-project.spark:unused:jar:1.0.0:provided [INFO] +- org.apache.spark:spark-sql_2.11:jar:2.4.5:provided [INFO] | +- com.univocity:univocity-parsers:jar:2.7.3:provided [INFO] | +- org.apache.spark:spark-sketch_2.11:jar:2.4.5:provided [INFO] | +- org.apache.spark:spark-catalyst_2.11:jar:2.4.5:provided [INFO] | | +- org.scala-lang.modules:scala-parser-combinators_2.11:jar:1.1.0:provided [INFO] | | +- org.codehaus.janino:janino:jar:3.0.9:provided [INFO] | | +- org.codehaus.janino:commons-compiler:jar:3.0.9:provided [INFO] | | - org.antlr:antlr4-runtime:jar:4.7:provided [INFO] | +- org.apache.orc:orc-core:jar:nohive:1.5.5:provided [INFO] | | +- org.apache.orc:orc-shims:jar:1.5.5:provided [INFO] | | - io.airlift:aircompressor:jar:0.10:provided [INFO] | +- org.apache.orc:orc-mapreduce:jar:nohive:1.5.5:provided [INFO] | +- org.apache.parquet:parquet-column:jar:1.10.1:provided [INFO] | | +- org.apache.parquet:parquet-common:jar:1.10.1:provided [INFO] | | - org.apache.parquet:parquet-encoding:jar:1.10.1:provided [INFO] | +- org.apache.parquet:parquet-hadoop:jar:1.10.1:provided [INFO] | | +- org.apache.parquet:parquet-format:jar:2.4.0:provided [INFO] | | - org.apache.parquet:parquet-jackson:jar:1.10.1:provided [INFO] | - org.apache.arrow:arrow-vector:jar:0.10.0:provided [INFO] | +- org.apache.arrow:arrow-format:jar:0.10.0:provided [INFO] | +- org.apache.arrow:arrow-memory:jar:0.10.0:provided [INFO] | +- com.carrotsearch:hppc:jar:0.7.2:provided [INFO] | - com.vlkan:flatbuffers:jar:1.2.0-3f79e055:provided [INFO] +- org.apache.spark:spark-hive_2.11:jar:2.4.5:provided [INFO] | +- com.twitter:parquet-hadoop-bundle:jar:1.6.0:provided [INFO] | +- org.spark-project.hive:hive-exec:jar:1.2.1.spark2:provided [INFO] | | +- commons-io:commons-io:jar:2.8.0:provided [INFO] | | +- javolution:javolution:jar:5.5.1:provided [INFO] | | +- log4j:apache-log4j-extras:jar:1.2.17:provided [INFO] | | +- org.antlr:antlr-runtime:jar:3.4:provided [INFO] | | | - org.antlr:stringtemplate:jar:3.2.1:provided [INFO] | | +- org.antlr:ST4:jar:4.0.4:provided [INFO] | | +- com.googlecode.javaewah:JavaEWAH:jar:0.3.2:provided [INFO] | | +- org.iq80.snappy:snappy:jar:0.2:provided [INFO] | | +- stax:stax-api:jar:1.0.1:provided [INFO] | | - net.sf.opencsv:opencsv:jar:2.3:provided [INFO] | +- org.spark-project.hive:hive-metastore:jar:1.2.1.spark2:provided [INFO] | | +- com.jolbox:bonecp:jar:0.8.0.RELEASE:provided [INFO] | | +- commons-cli:commons-cli:jar:1.4:provided [INFO] | | +- org.datanucleus:datanucleus-api-jdo:jar:3.2.6:provided [INFO] | | +- org.datanucleus:datanucleus-rdbms:jar:3.2.9:provided [INFO] | | +- commons-pool:commons-pool:jar:1.5.4:provided [INFO] | | +- commons-dbcp:commons-dbcp:jar:1.4:provided [INFO] | | - javax.jdo:jdo-api:jar:3.0.1:provided [INFO] | | - javax.transaction:jta:jar:1.1:provided [INFO] | +- commons-httpclient:commons-httpclient:jar:3.1:provided [INFO] | +- org.apache.calcite:calcite-avatica:jar:1.2.0-incubating:provided [INFO] | +- org.apache.calcite:calcite-core:jar:1.2.0-incubating:provided [INFO] | | +- org.apache.calcite:calcite-linq4j:jar:1.2.0-incubating:provided [INFO] | | - net.hydromatic:eigenbase-properties:jar:1.1.5:provided [INFO] | +- org.codehaus.jackson:jackson-mapper-asl:jar:1.9.13:provided [INFO] | +- joda-time:joda-time:jar:2.9.3:provided [INFO] | +- org.jodd:jodd-core:jar:3.5.2:provided [INFO] | +- org.datanucleus:datanucleus-core:jar:3.2.10:provided [INFO] | +- org.apache.thrift:libthrift:jar:0.9.3:provided [INFO] | +- org.apache.thrift:libfb303:jar:0.9.3:provided [INFO] | - org.apache.derby:derby:jar:10.12.1.1:provided [INFO] - org.slf4j:slf4j-log4j12:jar:1.7.30:compile

jradcliff commented 11 months ago

Do you still encounter issues if you do not specify a version for google-cloud-bigquery or google-cloud-storage?

You shouldn't need the version for those because they are in the list of libraries for libraries-bom. Also, the versions listed for those in version 26.22.0 of libraries-bom are much higher than what you have set:

https://github.com/googleapis/java-cloud-bom/tree/v26.22.0

harmonychan commented 11 months ago

I just tested with the removal of the specified versions for both google-cloud-bigquery or google-cloud-storage. I get the same Runtime error.

Dependency Tree:

[INFO] +- com.companyname.data:internal-core:jar:1.11.5-SNAPSHOT:compile [INFO] +- com.google.guava:guava:jar:32.1.2-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.code.findbugs:jsr305:jar:3.0.2:compile [INFO] | +- org.checkerframework:checker-qual:jar:3.33.0:compile [INFO] | +- com.google.errorprone:error_prone_annotations:jar:2.18.0:compile [INFO] | - com.google.j2objc:j2objc-annotations:jar:2.8:compile [INFO] +- com.google.apis:google-api-services-searchconsole:jar:v1-rev20211026-1.32.1:compile [INFO] +- com.google.api-ads:google-ads:jar:28.0.0:compile [INFO] | +- io.grpc:grpc-stub:jar:1.56.1:compile [INFO] | +- io.grpc:grpc-protobuf:jar:1.56.1:compile [INFO] | +- com.google.auth:google-auth-library-oauth2-http:jar:1.19.0:compile [INFO] | +- com.google.auth:google-auth-library-credentials:jar:1.19.0:compile [INFO] | +- com.google.api-ads:google-ads-codegen:jar:28.0.0:compile [INFO] | | +- com.google.api-ads:google-ads-stubs-lib:jar:28.0.0:compile [INFO] | | +- com.google.api-ads:google-ads-stubs-v13:jar:28.0.0:compile [INFO] | | +- com.google.api-ads:google-ads-stubs-v14:jar:28.0.0:compile [INFO] | | +- com.google.api-ads:google-ads-stubs-v15:jar:28.0.0:compile [INFO] | | - com.squareup:javapoet:jar:1.11.1:runtime [INFO] | +- com.google.protobuf:protobuf-java-util:jar:3.23.2:compile [INFO] | +- com.google.auto.service:auto-service:jar:1.0.1:runtime [INFO] | | +- com.google.auto.service:auto-service-annotations:jar:1.0.1:runtime [INFO] | | - com.google.auto:auto-common:jar:1.2:runtime [INFO] | +- javax.annotation:javax.annotation-api:jar:1.3.2:compile [INFO] | - com.google.auto.value:auto-value-annotations:jar:1.10.2:compile [INFO] +- com.google.protobuf:protobuf-java:jar:3.23.2:compile [INFO] +- com.google.api:gax-grpc:jar:2.32.0:compile [INFO] | +- com.google.api:api-common:jar:2.15.0:compile [INFO] | +- com.google.api.grpc:proto-google-common-protos:jar:2.23.0:compile [INFO] | +- io.grpc:grpc-api:jar:1.56.1:compile [INFO] | +- org.threeten:threetenbp:jar:1.6.8:compile [INFO] | +- io.grpc:grpc-alts:jar:1.56.1:compile [INFO] | +- io.grpc:grpc-auth:jar:1.56.1:compile [INFO] | +- io.grpc:grpc-netty-shaded:jar:1.56.1:compile [INFO] | - io.grpc:grpc-googleapis:jar:1.56.1:runtime [INFO] +- com.google.api:gax:jar:2.32.0:compile [INFO] | - io.opencensus:opencensus-api:jar:0.31.1:compile [INFO] +- org.slf4j:slf4j-api:jar:1.7.30:compile [INFO] +- com.opencsv:opencsv:jar:5.4:compile [INFO] | +- org.apache.commons:commons-lang3:jar:3.12.0:compile [INFO] | +- org.apache.commons:commons-text:jar:1.9:compile [INFO] | - commons-beanutils:commons-beanutils:jar:1.9.4:compile [INFO] +- org.apache.velocity:velocity:jar:1.7:compile [INFO] | +- commons-collections:commons-collections:jar:3.2.1:compile [INFO] | - commons-lang:commons-lang:jar:2.4:compile [INFO] +- org.apache.velocity:velocity-tools:jar:2.0:compile [INFO] | +- commons-digester:commons-digester:jar:1.8:compile [INFO] | +- commons-chain:commons-chain:jar:1.1:compile [INFO] | +- commons-logging:commons-logging:jar:1.1:compile [INFO] | | - javax.servlet:servlet-api:jar:2.3:compile [INFO] | +- commons-validator:commons-validator:jar:1.3.1:compile [INFO] | +- dom4j:dom4j:jar:1.1:compile [INFO] | +- oro:oro:jar:2.0.8:compile [INFO] | +- sslext:sslext:jar:1.2-0:compile [INFO] | +- org.apache.struts:struts-core:jar:1.3.8:compile [INFO] | | - antlr:antlr:jar:2.7.2:compile [INFO] | +- org.apache.struts:struts-taglib:jar:1.3.8:compile [INFO] | - org.apache.struts:struts-tiles:jar:1.3.8:compile [INFO] +- com.google.cloud:google-cloud-bigquery:jar:2.31.1:compile [INFO] | +- com.google.cloud:google-cloud-core:jar:2.22.0:compile [INFO] | +- com.google.api.grpc:proto-google-iam-v1:jar:1.18.0:compile [INFO] | +- com.google.cloud:google-cloud-core-http:jar:2.22.0:compile [INFO] | +- com.google.oauth-client:google-oauth-client:jar:1.34.1:compile [INFO] | +- com.google.http-client:google-http-client-apache-v2:jar:1.43.3:compile [INFO] | +- com.google.http-client:google-http-client-appengine:jar:1.43.3:compile [INFO] | +- com.google.api:gax-httpjson:jar:2.32.0:compile [INFO] | +- io.opencensus:opencensus-contrib-http-util:jar:0.31.1:compile [INFO] | +- com.google.http-client:google-http-client-gson:jar:1.43.3:compile [INFO] | +- com.google.http-client:google-http-client:jar:1.43.3:compile [INFO] | +- org.apache.httpcomponents:httpclient:jar:4.5.13:compile [INFO] | +- org.apache.httpcomponents:httpcore:jar:4.4.14:compile [INFO] | +- org.checkerframework:checker-compat-qual:jar:2.5.5:compile [INFO] | +- com.google.apis:google-api-services-bigquery:jar:v2-rev20230520-2.0.0:compile [INFO] | +- com.google.code.gson:gson:jar:2.10.1:compile [INFO] | +- org.threeten:threeten-extra:jar:1.7.2:compile [INFO] | +- com.google.cloud:google-cloud-bigquerystorage:jar:2.41.1:compile [INFO] | +- io.grpc:grpc-context:jar:1.56.1:compile [INFO] | +- io.grpc:grpc-protobuf-lite:jar:1.56.1:compile [INFO] | +- com.google.auto.value:auto-value:jar:1.10.2:compile [INFO] | +- com.google.api.grpc:proto-google-cloud-bigquerystorage-v1beta1:jar:0.165.1:compile [INFO] | +- com.google.api.grpc:proto-google-cloud-bigquerystorage-v1beta2:jar:0.165.1:compile [INFO] | +- io.grpc:grpc-grpclb:jar:1.56.1:compile [INFO] | +- org.conscrypt:conscrypt-openjdk-uber:jar:2.5.2:compile [INFO] | +- org.json:json:jar:20230618:compile [INFO] | +- io.grpc:grpc-core:jar:1.56.1:compile [INFO] | +- com.google.android:annotations:jar:4.1.1.4:runtime [INFO] | +- org.codehaus.mojo:animal-sniffer-annotations:jar:1.23:runtime [INFO] | +- io.perfmark:perfmark-api:jar:0.26.0:runtime [INFO] | +- commons-codec:commons-codec:jar:1.15:compile [INFO] | +- com.google.api.grpc:grpc-google-cloud-bigquerystorage-v1beta1:jar:0.165.1:compile [INFO] | +- com.google.api.grpc:grpc-google-cloud-bigquerystorage-v1beta2:jar:0.165.1:compile [INFO] | +- com.google.api.grpc:grpc-google-cloud-bigquerystorage-v1:jar:2.41.1:compile [INFO] | +- com.google.api.grpc:proto-google-cloud-bigquerystorage-v1:jar:2.41.1:compile [INFO] | +- org.apache.arrow:arrow-vector:jar:12.0.1:compile [INFO] | +- org.apache.arrow:arrow-format:jar:12.0.1:compile [INFO] | +- com.fasterxml.jackson.core:jackson-core:jar:2.12.3:compile [INFO] | +- com.fasterxml.jackson.core:jackson-annotations:jar:2.12.3:compile [INFO] | +- com.fasterxml.jackson.core:jackson-databind:jar:2.12.3:compile [INFO] | +- com.fasterxml.jackson.datatype:jackson-datatype-jsr310:jar:2.15.2:compile [INFO] | +- io.netty:netty-common:jar:4.1.82.Final:compile [INFO] | +- com.google.flatbuffers:flatbuffers-java:jar:1.12.0:compile [INFO] | +- org.apache.arrow:arrow-memory-core:jar:12.0.1:compile [INFO] | +- org.apache.arrow:arrow-memory-netty:jar:12.0.1:runtime [INFO] | - io.netty:netty-buffer:jar:4.1.82.Final:runtime [INFO] +- com.google.api-client:google-api-client:jar:1.31.4:compile [INFO] +- com.google.cloud:google-cloud-nio:jar:0.127.1:compile [INFO] | +- com.google.apis:google-api-services-storage:jar:v1-rev20230617-2.0.0:compile [INFO] | - javax.inject:javax.inject:jar:1:compile [INFO] +- com.google.cloud:google-cloud-storage:jar:2.26.0:compile [INFO] | +- com.google.http-client:google-http-client-jackson2:jar:1.43.3:compile [INFO] | +- com.google.cloud:google-cloud-core-grpc:jar:2.22.0:compile [INFO] | +- com.google.api.grpc:proto-google-cloud-storage-v2:jar:2.26.0-alpha:compile [INFO] | +- com.google.api.grpc:grpc-google-cloud-storage-v2:jar:2.26.0-alpha:compile [INFO] | +- com.google.api.grpc:gapic-google-cloud-storage-v2:jar:2.26.0-alpha:compile [INFO] | +- io.grpc:grpc-xds:jar:1.56.1:runtime [INFO] | +- io.opencensus:opencensus-proto:jar:0.2.0:runtime [INFO] | +- io.grpc:grpc-services:jar:1.56.1:runtime [INFO] | +- com.google.re2j:re2j:jar:1.7:runtime [INFO] | - io.grpc:grpc-rls:jar:1.56.1:runtime [INFO] +- com.google.apis:google-api-services-dfareporting:jar:v4-rev20220920-2.0.0:compile [INFO] +- org.apache.commons:commons-collections4:jar:4.4:compile [INFO] +- org.projectlombok:lombok:jar:1.18.20:provided [INFO] +- com.companyname.data:data-commons-spark-tests:jar:1.3.1:test [INFO] | +- com.holdenkarau:spark-testing-base_2.11:jar:2.4.5_0.14.0:test [INFO] | | +- org.apache.spark:spark-streaming_2.11:jar:2.4.5:test [INFO] | | +- org.apache.spark:spark-yarn_2.11:jar:2.4.5:test [INFO] | | | +- org.apache.hadoop:hadoop-yarn-common:jar:2.6.5:provided [INFO] | | | | +- javax.xml.bind:jaxb-api:jar:2.2.2:provided [INFO] | | | | | - javax.xml.stream:stax-api:jar:1.0-2:provided [INFO] | | | | +- org.codehaus.jackson:jackson-jaxrs:jar:1.9.13:provided [INFO] | | | | +- org.codehaus.jackson:jackson-xc:jar:1.9.13:provided [INFO] | | | | - com.google.inject:guice:jar:3.0:provided [INFO] | | | | - aopalliance:aopalliance:jar:1.0:provided [INFO] | | | - org.apache.hadoop:hadoop-yarn-client:jar:2.6.5:provided [INFO] | | +- org.apache.spark:spark-mllib_2.11:jar:2.4.5:test [INFO] | | | +- org.apache.spark:spark-graphx_2.11:jar:2.4.5:test [INFO] | | | | +- com.github.fommil.netlib:core:jar:1.1.2:test [INFO] | | | | - net.sourceforge.f2j:arpack_combined_all:jar:0.1:test [INFO] | | | +- org.apache.spark:spark-mllib-local_2.11:jar:2.4.5:test [INFO] | | | - org.scalanlp:breeze_2.11:jar:0.13.2:test [INFO] | | | +- org.scalanlp:breeze-macros_2.11:jar:0.13.2:test [INFO] | | | +- com.github.rwl:jtransforms:jar:2.4.0:test [INFO] | | | +- org.spire-math:spire_2.11:jar:0.13.0:test [INFO] | | | | +- org.spire-math:spire-macros_2.11:jar:0.13.0:test [INFO] | | | | - org.typelevel:machinist_2.11:jar:0.6.1:test [INFO] | | | - com.chuusai:shapeless_2.11:jar:2.3.2:test [INFO] | | | - org.typelevel:macro-compat_2.11:jar:1.1.1:test [INFO] | | +- io.github.nicolasstucki:multisets_2.11:jar:0.4:test [INFO] | | +- org.scalacheck:scalacheck_2.11:jar:1.14.0:test [INFO] | | | - org.scala-sbt:test-interface:jar:1.0:test [INFO] | | +- org.eclipse.jetty:jetty-util:jar:9.3.11.v20160721:test [INFO] | | +- org.apache.hadoop:hadoop-hdfs:jar:tests:2.8.3:test [INFO] | | | +- org.apache.hadoop:hadoop-hdfs-client:jar:2.8.3:provided [INFO] | | | | - com.squareup.okhttp:okhttp:jar:2.4.0:provided [INFO] | | | | - com.squareup.okio:okio:jar:1.4.0:provided [INFO] | | | +- org.mortbay.jetty:jetty:jar:6.1.26:provided [INFO] | | | +- org.mortbay.jetty:jetty-util:jar:6.1.26:provided [INFO] | | | +- com.sun.jersey:jersey-core:jar:1.9:provided [INFO] | | | +- com.sun.jersey:jersey-server:jar:1.9:provided [INFO] | | | | - asm:asm:jar:3.1:provided [INFO] | | | +- commons-daemon:commons-daemon:jar:1.0.13:provided [INFO] | | | +- xmlenc:xmlenc:jar:0.52:provided [INFO] | | | +- xerces:xercesImpl:jar:2.9.1:provided [INFO] | | | | - xml-apis:xml-apis:jar:1.3.04:provided [INFO] | | | - org.apache.htrace:htrace-core4:jar:4.0.1-incubating:provided [INFO] | | +- org.apache.hadoop:hadoop-hdfs:jar:2.8.3:provided [INFO] | | +- org.apache.hadoop:hadoop-common:jar:tests:2.8.3:test [INFO] | | | +- org.mortbay.jetty:jetty-sslengine:jar:6.1.26:provided [INFO] | | | +- javax.servlet.jsp:jsp-api:jar:2.1:provided [INFO] | | | +- com.sun.jersey:jersey-json:jar:1.9:provided [INFO] | | | +- net.java.dev.jets3t:jets3t:jar:0.9.0:provided [INFO] | | | +- commons-configuration:commons-configuration:jar:1.6:provided [INFO] | | | | - commons-beanutils:commons-beanutils-core:jar:1.8.0:provided [INFO] | | | +- org.apache.hadoop:hadoop-auth:jar:2.8.3:provided [INFO] | | | | +- com.nimbusds:nimbus-jose-jwt:jar:3.9:provided [INFO] | | | | | +- net.jcip:jcip-annotations:jar:1.0:provided [INFO] | | | | | - net.minidev:json-smart:jar:1.1.1:provided [INFO] | | | | - org.apache.directory.server:apacheds-kerberos-codec:jar:2.0.0-M15:provided [INFO] | | | | +- org.apache.directory.server:apacheds-i18n:jar:2.0.0-M15:provided [INFO] | | | | +- org.apache.directory.api:api-asn1-api:jar:1.0.0-M20:provided [INFO] | | | | - org.apache.directory.api:api-util:jar:1.0.0-M20:provided [INFO] | | | +- com.jcraft:jsch:jar:0.1.54:provided [INFO] | | | - org.apache.curator:curator-client:jar:2.7.1:provided [INFO] | | +- org.apache.hadoop:hadoop-common:jar:2.8.3:provided [INFO] | | +- org.apache.hadoop:hadoop-client:jar:tests:2.8.3:test [INFO] | | +- org.apache.hadoop:hadoop-mapreduce-client-jobclient:jar:tests:2.8.3:test [INFO] | | | +- org.apache.hadoop:hadoop-mapreduce-client-common:jar:2.8.3:provided [INFO] | | | +- org.apache.hadoop:hadoop-mapreduce-client-shuffle:jar:2.8.3:provided [INFO] | | | - com.google.inject.extensions:guice-servlet:jar:3.0:provided [INFO] | | +- org.apache.hadoop:hadoop-mapreduce-client-jobclient:jar:2.8.3:provided [INFO] | | +- org.apache.hadoop:hadoop-yarn-server-tests:jar:tests:2.8.3:test [INFO] | | | +- org.apache.hadoop:hadoop-yarn-server-common:jar:2.8.3:provided [INFO] | | | +- org.apache.hadoop:hadoop-yarn-server-nodemanager:jar:2.8.3:provided [INFO] | | | | +- org.codehaus.jettison:jettison:jar:1.1:provided [INFO] | | | | +- com.sun.jersey:jersey-client:jar:1.9:provided [INFO] | | | | - com.sun.jersey.contribs:jersey-guice:jar:1.9:provided [INFO] | | | - org.apache.hadoop:hadoop-yarn-server-resourcemanager:jar:2.8.3:test [INFO] | | | +- org.apache.hadoop:hadoop-yarn-server-applicationhistoryservice:jar:2.8.3:test [INFO] | | | | - de.ruedigermoeller:fst:jar:2.50:test [INFO] | | | | - com.cedarsoftware:java-util:jar:1.9.0:test [INFO] | | | | - com.cedarsoftware:json-io:jar:2.5.1:test [INFO] | | | +- org.apache.curator:curator-test:jar:2.7.1:test [INFO] | | | | - org.apache.commons:commons-math:jar:2.2:test [INFO] | | | - org.apache.zookeeper:zookeeper:test-jar:tests:3.4.6:test [INFO] | | +- org.apache.hadoop:hadoop-yarn-server-tests:jar:2.8.3:test [INFO] | | +- org.apache.hadoop:hadoop-yarn-server-web-proxy:jar:tests:2.8.3:test [INFO] | | +- org.apache.hadoop:hadoop-yarn-server-web-proxy:jar:2.8.3:test [INFO] | | - org.apache.hadoop:hadoop-minicluster:jar:2.8.3:test [INFO] | | - org.apache.hadoop:hadoop-mapreduce-client-hs:jar:2.8.3:test [INFO] | +- org.scalatest:scalatest_2.11:jar:3.0.5:test [INFO] | | +- org.scalactic:scalactic_2.11:jar:3.0.5:test [INFO] | | +- org.scala-lang:scala-reflect:jar:2.11.12:provided [INFO] | | - org.scala-lang.modules:scala-xml_2.11:jar:1.0.6:provided [INFO] | +- org.junit.jupiter:junit-jupiter:jar:5.7.1:test [INFO] | | +- org.junit.jupiter:junit-jupiter-api:jar:5.7.1:test [INFO] | | | +- org.apiguardian:apiguardian-api:jar:1.1.0:test [INFO] | | | +- org.opentest4j:opentest4j:jar:1.2.0:test [INFO] | | | - org.junit.platform:junit-platform-commons:jar:1.7.1:test [INFO] | | +- org.junit.jupiter:junit-jupiter-params:jar:5.7.1:test [INFO] | | - org.junit.jupiter:junit-jupiter-engine:jar:5.7.1:test [INFO] | | - org.junit.platform:junit-platform-engine:jar:1.7.1:test [INFO] | +- junit:junit:jar:4.13.2:test [INFO] | - com.fasterxml.jackson.module:jackson-module-scala_2.11:jar:2.12.3:provided [INFO] +- org.easymock:easymock:jar:4.3:test [INFO] | - org.objenesis:objenesis:jar:3.2:provided [INFO] +- org.powermock:powermock-module-junit4:jar:2.0.9:test [INFO] | +- org.powermock:powermock-module-junit4-common:jar:2.0.9:test [INFO] | | - org.powermock:powermock-reflect:jar:2.0.9:test [INFO] | - org.hamcrest:hamcrest-core:jar:1.3:test [INFO] +- org.powermock:powermock-api-mockito2:jar:2.0.9:test [INFO] | +- org.powermock:powermock-api-support:jar:2.0.9:test [INFO] | - org.mockito:mockito-core:jar:3.9.0:test [INFO] +- org.powermock:powermock-module-junit4-rule-agent:jar:2.0.9:test [INFO] | - org.powermock:powermock-core:jar:2.0.9:test [INFO] | +- org.javassist:javassist:jar:3.27.0-GA:provided [INFO] | +- net.bytebuddy:byte-buddy:jar:1.10.14:test [INFO] | - net.bytebuddy:byte-buddy-agent:jar:1.10.14:test [INFO] +- org.powermock:powermock-module-javaagent:jar:2.0.9:test [INFO] +- org.apache.spark:spark-core_2.11:jar:2.4.5:provided [INFO] | +- com.thoughtworks.paranamer:paranamer:jar:2.8:provided [INFO] | +- org.apache.avro:avro:jar:1.8.2:provided [INFO] | | +- org.codehaus.jackson:jackson-core-asl:jar:1.9.13:provided [INFO] | | +- org.apache.commons:commons-compress:jar:1.8.1:provided [INFO] | | - org.tukaani:xz:jar:1.5:provided [INFO] | +- org.apache.avro:avro-mapred:jar:hadoop2:1.8.2:provided [INFO] | | - org.apache.avro:avro-ipc:jar:1.8.2:provided [INFO] | +- com.twitter:chill_2.11:jar:0.9.3:provided [INFO] | | - com.esotericsoftware:kryo-shaded:jar:4.0.2:provided [INFO] | | - com.esotericsoftware:minlog:jar:1.3.0:provided [INFO] | +- com.twitter:chill-java:jar:0.9.3:provided [INFO] | +- org.apache.xbean:xbean-asm6-shaded:jar:4.8:provided [INFO] | +- org.apache.hadoop:hadoop-client:jar:2.6.5:provided [INFO] | | +- org.apache.hadoop:hadoop-mapreduce-client-app:jar:2.6.5:provided [INFO] | | +- org.apache.hadoop:hadoop-yarn-api:jar:2.6.5:provided [INFO] | | +- org.apache.hadoop:hadoop-mapreduce-client-core:jar:2.6.5:provided [INFO] | | - org.apache.hadoop:hadoop-annotations:jar:2.6.5:provided [INFO] | +- org.apache.spark:spark-launcher_2.11:jar:2.4.5:provided [INFO] | +- org.apache.spark:spark-kvstore_2.11:jar:2.4.5:provided [INFO] | | - org.fusesource.leveldbjni:leveldbjni-all:jar:1.8:provided [INFO] | +- org.apache.spark:spark-network-common_2.11:jar:2.4.5:provided [INFO] | +- org.apache.spark:spark-network-shuffle_2.11:jar:2.4.5:provided [INFO] | +- org.apache.spark:spark-unsafe_2.11:jar:2.4.5:provided [INFO] | +- javax.activation:activation:jar:1.1.1:provided [INFO] | +- org.apache.curator:curator-recipes:jar:2.6.0:provided [INFO] | | - org.apache.curator:curator-framework:jar:2.6.0:provided [INFO] | +- org.apache.zookeeper:zookeeper:jar:3.4.6:provided [INFO] | +- javax.servlet:javax.servlet-api:jar:3.1.0:provided [INFO] | +- org.apache.commons:commons-math3:jar:3.4.1:provided [INFO] | +- org.slf4j:jul-to-slf4j:jar:1.7.16:provided [INFO] | +- org.slf4j:jcl-over-slf4j:jar:1.7.16:provided [INFO] | +- log4j:log4j:jar:1.2.17:compile [INFO] | +- com.ning:compress-lzf:jar:1.0.3:provided [INFO] | +- org.xerial.snappy:snappy-java:jar:1.1.7.3:provided [INFO] | +- org.lz4:lz4-java:jar:1.4.0:provided [INFO] | +- com.github.luben:zstd-jni:jar:1.3.2-2:provided [INFO] | +- org.roaringbitmap:RoaringBitmap:jar:0.7.45:provided [INFO] | | - org.roaringbitmap:shims:jar:0.7.45:provided [INFO] | +- commons-net:commons-net:jar:3.1:provided [INFO] | +- org.scala-lang:scala-library:jar:2.11.12:provided [INFO] | +- org.json4s:json4s-jackson_2.11:jar:3.5.3:provided [INFO] | | - org.json4s:json4s-core_2.11:jar:3.5.3:provided [INFO] | | +- org.json4s:json4s-ast_2.11:jar:3.5.3:provided [INFO] | | - org.json4s:json4s-scalap_2.11:jar:3.5.3:provided [INFO] | +- org.glassfish.jersey.core:jersey-client:jar:2.22.2:provided [INFO] | | +- javax.ws.rs:javax.ws.rs-api:jar:2.0.1:provided [INFO] | | +- org.glassfish.hk2:hk2-api:jar:2.4.0-b34:provided [INFO] | | | +- org.glassfish.hk2:hk2-utils:jar:2.4.0-b34:provided [INFO] | | | - org.glassfish.hk2.external:aopalliance-repackaged:jar:2.4.0-b34:provided [INFO] | | +- org.glassfish.hk2.external:javax.inject:jar:2.4.0-b34:provided [INFO] | | - org.glassfish.hk2:hk2-locator:jar:2.4.0-b34:provided [INFO] | +- org.glassfish.jersey.core:jersey-common:jar:2.22.2:provided [INFO] | | +- org.glassfish.jersey.bundles.repackaged:jersey-guava:jar:2.22.2:provided [INFO] | | - org.glassfish.hk2:osgi-resource-locator:jar:1.0.1:provided [INFO] | +- org.glassfish.jersey.core:jersey-server:jar:2.22.2:provided [INFO] | | +- org.glassfish.jersey.media:jersey-media-jaxb:jar:2.22.2:provided [INFO] | | - javax.validation:validation-api:jar:1.1.0.Final:provided [INFO] | +- org.glassfish.jersey.containers:jersey-container-servlet:jar:2.22.2:provided [INFO] | +- org.glassfish.jersey.containers:jersey-container-servlet-core:jar:2.22.2:provided [INFO] | +- io.netty:netty-all:jar:4.1.42.Final:provided [INFO] | +- io.netty:netty:jar:3.9.9.Final:provided [INFO] | +- com.clearspring.analytics:stream:jar:2.7.0:provided [INFO] | +- io.dropwizard.metrics:metrics-core:jar:3.1.5:provided [INFO] | +- io.dropwizard.metrics:metrics-jvm:jar:3.1.5:provided [INFO] | +- io.dropwizard.metrics:metrics-json:jar:3.1.5:provided [INFO] | +- io.dropwizard.metrics:metrics-graphite:jar:3.1.5:provided [INFO] | +- org.apache.ivy:ivy:jar:2.4.0:provided [INFO] | +- net.razorvine:pyrolite:jar:4.13:provided [INFO] | +- net.sf.py4j:py4j:jar:0.10.7:provided [INFO] | +- org.apache.spark:spark-tags_2.11:jar:2.4.5:provided [INFO] | +- org.apache.commons:commons-crypto:jar:1.0.0:provided [INFO] | - org.spark-project.spark:unused:jar:1.0.0:provided [INFO] +- org.apache.spark:spark-sql_2.11:jar:2.4.5:provided [INFO] | +- com.univocity:univocity-parsers:jar:2.7.3:provided [INFO] | +- org.apache.spark:spark-sketch_2.11:jar:2.4.5:provided [INFO] | +- org.apache.spark:spark-catalyst_2.11:jar:2.4.5:provided [INFO] | | +- org.scala-lang.modules:scala-parser-combinators_2.11:jar:1.1.0:provided [INFO] | | +- org.codehaus.janino:janino:jar:3.0.9:provided [INFO] | | +- org.codehaus.janino:commons-compiler:jar:3.0.9:provided [INFO] | | - org.antlr:antlr4-runtime:jar:4.7:provided [INFO] | +- org.apache.orc:orc-core:jar:nohive:1.5.5:provided [INFO] | | +- org.apache.orc:orc-shims:jar:1.5.5:provided [INFO] | | - io.airlift:aircompressor:jar:0.10:provided [INFO] | +- org.apache.orc:orc-mapreduce:jar:nohive:1.5.5:provided [INFO] | +- org.apache.parquet:parquet-column:jar:1.10.1:provided [INFO] | | +- org.apache.parquet:parquet-common:jar:1.10.1:provided [INFO] | | - org.apache.parquet:parquet-encoding:jar:1.10.1:provided [INFO] | - org.apache.parquet:parquet-hadoop:jar:1.10.1:provided [INFO] | +- org.apache.parquet:parquet-format:jar:2.4.0:provided [INFO] | - org.apache.parquet:parquet-jackson:jar:1.10.1:provided [INFO] +- org.apache.spark:spark-hive_2.11:jar:2.4.5:provided [INFO] | +- com.twitter:parquet-hadoop-bundle:jar:1.6.0:provided [INFO] | +- org.spark-project.hive:hive-exec:jar:1.2.1.spark2:provided [INFO] | | +- commons-io:commons-io:jar:2.8.0:provided [INFO] | | +- javolution:javolution:jar:5.5.1:provided [INFO] | | +- log4j:apache-log4j-extras:jar:1.2.17:provided [INFO] | | +- org.antlr:antlr-runtime:jar:3.4:provided [INFO] | | | - org.antlr:stringtemplate:jar:3.2.1:provided [INFO] | | +- org.antlr:ST4:jar:4.0.4:provided [INFO] | | +- com.googlecode.javaewah:JavaEWAH:jar:0.3.2:provided [INFO] | | +- org.iq80.snappy:snappy:jar:0.2:provided [INFO] | | +- stax:stax-api:jar:1.0.1:provided [INFO] | | - net.sf.opencsv:opencsv:jar:2.3:provided [INFO] | +- org.spark-project.hive:hive-metastore:jar:1.2.1.spark2:provided [INFO] | | +- com.jolbox:bonecp:jar:0.8.0.RELEASE:provided [INFO] | | +- commons-cli:commons-cli:jar:1.4:provided [INFO] | | +- org.datanucleus:datanucleus-api-jdo:jar:3.2.6:provided [INFO] | | +- org.datanucleus:datanucleus-rdbms:jar:3.2.9:provided [INFO] | | +- commons-pool:commons-pool:jar:1.5.4:provided [INFO] | | +- commons-dbcp:commons-dbcp:jar:1.4:provided [INFO] | | - javax.jdo:jdo-api:jar:3.0.1:provided [INFO] | | - javax.transaction:jta:jar:1.1:provided [INFO] | +- commons-httpclient:commons-httpclient:jar:3.1:provided [INFO] | +- org.apache.calcite:calcite-avatica:jar:1.2.0-incubating:provided [INFO] | +- org.apache.calcite:calcite-core:jar:1.2.0-incubating:provided [INFO] | | +- org.apache.calcite:calcite-linq4j:jar:1.2.0-incubating:provided [INFO] | | - net.hydromatic:eigenbase-properties:jar:1.1.5:provided [INFO] | +- org.codehaus.jackson:jackson-mapper-asl:jar:1.9.13:provided [INFO] | +- joda-time:joda-time:jar:2.9.3:provided [INFO] | +- org.jodd:jodd-core:jar:3.5.2:provided [INFO] | +- org.datanucleus:datanucleus-core:jar:3.2.10:provided [INFO] | +- org.apache.thrift:libthrift:jar:0.9.3:provided [INFO] | +- org.apache.thrift:libfb303:jar:0.9.3:provided [INFO] | - org.apache.derby:derby:jar:10.12.1.1:provided [INFO] - org.slf4j:slf4j-log4j12:jar:1.7.30:compile [INFO]

jradcliff commented 11 months ago

Could you share the snippet of your code that leads to this error? I want to make sure I understand which step is failing (creating the GoogleAdsClient, getting OAuth credentials, or actually making a request).

Also, could you confirm you're still seeing the INTERNAL: Failed to frame message error?

harmonychan commented 11 months ago

Yes I am still seeing the INTERNAL: Failed to frame message. Is there a way we can contact privately through the official channel to share the snippet of code?

Also, this error came after the one I displayed above:

Caused by: java.lang.UnsupportedOperationException: This is supposed to be overridden by subclasses. at com.shaded.google.protobuf.GeneratedMessageV3.getUnknownFields(GeneratedMessageV3.java:302) at com.google.ads.googleads.v15.services.SearchGoogleAdsRequest.getSerializedSize(SearchGoogleAdsRequest.java:345) at io.grpc.protobuf.lite.ProtoInputStream.available(ProtoInputStream.java:108) at io.grpc.internal.MessageFramer.getKnownLength(MessageFramer.java:208) at io.grpc.internal.MessageFramer.writePayload(MessageFramer.java:138) ... 30 more

jradcliff commented 11 months ago

Hi,

Please open a support case via the form at https://developers.google.com/google-ads/api/support, and mention that I specifically requested you open the case so we can share information 1:1. If you get a case ID back in the response, please post it here so I can look up the case and follow up with you there.

Thanks, Josh, Google Ads API Team

harmonychan commented 11 months ago

The case ID is ref:!00D1U01174p.!5004Q02qVsR9:ref according to the response.

jradcliff commented 11 months ago

Thanks for creating the case. I'll follow up with you 1:1 there.

Cheers, Josh

dschwarz-brex commented 4 months ago

@jradcliff / @harmonychan , could you share the resolution for "java.lang.UnsupportedOperationException: This is supposed to be overridden by subclasses"? We're encountering the same issue upgrading to maven version 30.0.0

Edit: So sorry, fixed it by upgrading to protobuf 3.25.3, as the maven dependencies indicated.