Connect Exited Soon After Started

I followed this tutorial ( Quick Start for Confluent Platform | Confluent Documentation ) to set up Kafka in Docker. But the container ‘Connect’ exited soon after starting. The error shown in the log is as follows:

connect | Caused by: java.lang.LinkageError: loader constraint violation: when resolving method 'com.fasterxml.jackson.databind.ObjectMapper

Hey :waving_hand: @JocelynGLi, Welcome to Confluent Developer Community forums!

As per the error message it seems class loader conflict. This happens when the Kafka Connect worker tries to load two different versions of the same library (in this case, com.fasterxml.jackson.databind.ObjectMapper), typically bundled within different connector plugins.

Could you please share the Confluent Platform version you are using, and also make sure you satisfy the prerequisite mentioned here in the docs.

Best regards,
Kushagra

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.