nodef found org.apache.kafka.common.serialization.stringserializer


I encountered this error while I was writing: Keycloak: Event Listener SPI & Publish to Kafka



To resolve this issue. Make your assembly to add the dependency while building the Jar.

<!-- Maven Assembly Plugin -->


Thank you for reading it. I was able to resolve it by adding the maven assembly plugin. Hope this was useful.



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store