Created
November 30, 2015 09:40
-
-
Save balubollam/d8d11cdf0cd15a51eb85 to your computer and use it in GitHub Desktop.
How to add org.apache.http.ssl.SSLContexts patch to the httpcontext-osji jar??
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
HI Everyone | |
I am implementing Jest client for Amazon client client connection.But iam getting this following error: | |
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/http/ssl/SSLContexts | |
at org.apache.http.conn.ssl.SSLConnectionSocketFactory.getSocketFactory(SSLConnectionSocketFactory.java:172) | |
at io.searchbox.client.config.HttpClientConfig$Builder.build(HttpClientConfig.java:247) | |
at com.ktree.amazon.esclient.ConnectToAmazon.main(ConnectToAmazon.java:14) | |
Caused by: java.lang.ClassNotFoundException: org.apache.http.ssl.SSLContexts | |
But when i R&D on this i had come to know that | |
*I need to add patch to the httpcontext-osji using dependencies i.e adding pom.xml | |
Can Any one Please help me out how to add this patch or How to solve this error? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment