Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connectors failing with NoClassDefFoundError on CDP clusters #290

Open
pugcwc opened this issue Jul 22, 2021 · 0 comments
Open

Connectors failing with NoClassDefFoundError on CDP clusters #290

pugcwc opened this issue Jul 22, 2021 · 0 comments

Comments

@pugcwc
Copy link

pugcwc commented Jul 22, 2021

Hi team,

I am new to GCP and KafkaConnect, I have deployed the pubsub sink connector jar on CDP clusters and while creating a connector, the connectors are getting failed with issue:

java.lang.NoClassDefFoundError: com/google/common/base/Preconditions\n\tat com.google.api.client.util.Preconditions.checkNotNull(Preconditions.java:125)\n\tat com.google.auth.oauth2.GoogleCredentials.fromStream(GoogleCredentials.java:150)\n\tat com.google.auth.oauth2.GoogleCredentials.fromStream(GoogleCredentials.java:133)\n\tat com.google.pubsub.kafka.common.ConnectorCredentialsProvider.loadJson(ConnectorCredentialsProvider.java:40)\n\tat com.google.pubsub.kafka.sink.CloudPubSubSinkTask.start(CloudPubSubSinkTask.java:166)\n\tat org.apache.kafka.connect.runtime.WorkerSinkTask.initializeAndStart(WorkerSinkTask.java:305)\n\tat org.apache.kafka.connect.runtime.WorkerSinkTask.execute(WorkerSinkTask.java:193)\n\tat org.apache.kafka.connect.runtime.WorkerTask.doRun(WorkerTask.java:184)\n\tat org.apache.kafka.connect.runtime.WorkerTask.run(WorkerTask.java:234)\n\tat java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)\n\tat java.util.concurrent.FutureTask.run(FutureTask.java:266)\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)\n\tat java.lang.Thread.run(Thread.java:748)\n

Can you please advice

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant