java.lang.NoClassDefFoundError: org/apache/http/conn/socket/ConnectionSocketFactory

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

Check if you didn't forget to instantiate your topic in the kafka broker.

,

This error comes up in the old version of spring-test , you should update tospring test 4.3.2

Solutions on the web

via GitHub by sonofanickel
, 1 year ago
org/apache/http/conn/socket/ConnectionSocketFactory
java.lang.ClassNotFoundException: org.apache.http.conn.socket.ConnectionSocketFactory
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at com.amazonaws.http.apache.client.impl.ApacheHttpClientFactory.(ApacheHttpClientFactory.java:42)
at com.amazonaws.http.AmazonHttpClient.(AmazonHttpClient.java:141)
at com.amazonaws.AmazonWebServiceClient.(AmazonWebServiceClient.java:162)
at com.amazonaws.AmazonWebServiceClient.(AmazonWebServiceClient.java:153)
at com.amazonaws.AmazonWebServiceClient.(AmazonWebServiceClient.java:138)
at com.amazonaws.services.glacier.AmazonGlacierClient.(AmazonGlacierClient.java:248)
at com.amazonaws.services.glacier.AmazonGlacierClient.(AmazonGlacierClient.java:227)
at de.kopis.glacier.commands.AbstractCommand.(AbstractCommand.java:51)
at de.kopis.glacier.commands.CreateVaultCommand.(CreateVaultCommand.java:41)
at de.kopis.glacier.GlacierUploader.findAndExecCommand(GlacierUploader.java:105)
at de.kopis.glacier.GlacierUploader.main(GlacierUploader.java:70)

Users with the same issue

Once, 1 week ago
Once, 1 month ago
Once, 2 months ago
Once, 2 months ago
5 times, 2 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.