03-07-2017 02:35 AM
In the CDH cluster (5.7.4) with Cloudera Navigator with Key Trustee KMS setup, I'm getting the following error from one of the Java application. Any help will be apprecaited.
CDH 5 5.7.4-1.cdh5.7.4.p0.2
I found this could be similar to
Any thoughts to fix this ?
Many thanks in advance.
java.lang.NoClassDefFoundError: org/apache/http/client/utils/URIBuilder at org.apache.hadoop.crypto.key.kms.KMSClientProvider
03-07-2017 08:42 PM
You may not have appropriate Jar in your class path thats the reaon it is throwing java.lang.NoClassDefFoundError
i belive you are missing the in the httpclient-4.2.jar in your Java application classpath. When you extra the jar you could see the below class.
03-29-2017 10:26 PM
Thank you for the response. My apologies for the delayed response.
Yes, it was the class not found error. The httpclient-4.2.5.jar was placed in the application environment and restart of the services picked the required Jar and started working fine.
Thanks once again.