You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi - I am new to GCP. I am trying to integrate java app with cloud pubsub emulator. I use java 8 on Windows 10 machine. I simply added the below dependency to pom and ran the example program CreateSubscriptionAndConsumeMessages.
I get the below error. Shouldn't all the dependencies be managed by google java client?. If there are exceptions, please document it.
Exception in thread "main" java.lang.NoSuchMethodError: com.google.common.base.Throwables.throwIfInstanceOf(Ljava/lang/Throwable;Ljava/lang/Class;)V
at com.google.api.gax.rpc.ApiExceptions.callAndTranslateApiException(ApiExceptions.java:56)
at com.google.api.gax.rpc.UnaryCallable.call(UnaryCallable.java:112)
at com.google.cloud.pubsub.v1.SubscriptionAdminClient.createSubscription(SubscriptionAdminClient.java:282)
at com.google.cloud.pubsub.v1.SubscriptionAdminClient.createSubscription(SubscriptionAdminClient.java:250)
at io.flux.modelservice.subscribers.CreateSubscriptionAndConsumeMessages.main(CreateSubscriptionAndConsumeMessages.java:24)
Hi - I am new to GCP. I am trying to integrate java app with cloud pubsub emulator. I use java 8 on Windows 10 machine. I simply added the below dependency to pom and ran the example program
CreateSubscriptionAndConsumeMessages.I get the below error. Shouldn't all the dependencies be managed by google java client?. If there are exceptions, please document it.