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

Problem

Thread.currentThread().setContextClassLoader(null);

Solution

<!-- Maven Assembly Plugin -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<finalName>Your-jar-name</finalName>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
<appendAssemblyId>false</appendAssemblyId>
</configuration>
<executions>
<execution>
<id>make-assembly</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
Class.forName("org.apache.kafka.common.serialization.stringserializer");

Conclusion

--

--

--

#redhatter #opensource #developer #kubernetes #keycloak #golang #openshift #quarkus #spring https://mentorcruise.com/mentor/abhishekkoserwal/

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Naming Convention in Java

Flutter — How to create hamburger menu

CSS Grids! Blend Modes! The magic wand of modern CSS

Sorting Algorithms: A series of instructions

HTML5 Top 10 Articles — May 2018

EYWA platform Alpha testing statistics.

Container Journey

Know The Internet Series| Host Software | RFC 1

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
Abhishek koserwal

Abhishek koserwal

#redhatter #opensource #developer #kubernetes #keycloak #golang #openshift #quarkus #spring https://mentorcruise.com/mentor/abhishekkoserwal/

More from Medium

Constraint name missing when using Hibernate SQLServer Dialect

Beware of calling long running native code together with high throughput workload in the same JVM

import Json dependency in JAVA

The BigDecimal pitfall