jar file in hotdeploy folder doesn't appear to be loading into workstation

Document ID : KB000074298
Last Modified Date : 28/03/2018
Show Technical Document Details
Issue:
Putting AWS jars aws-java-sdk-1.11.293-javadoc.jar, aws-java-sdk-1.11.293.jar, aws-java-sdk-1.11.293-sources.jar in DevTest_Home/hotDeploy or DevTest_Home/lib/shared folder and executing the code written in Execute Script step throwing the below error:

Target exception: java.lang.NoSuchMethodError: org.apache.http.conn.ssl.SSLConnectionSocketFactory.<init>(Ljavax/net/ssl/SSLContext;Ljavax/net/ssl/HostnameVerifier;)V 
in inline evaluation of: ``import com.amazonaws.auth.AWSCredentials; import com.amazonaws.auth.BasicAWSCr . . . '' at line number 13 
---------------------------------------------------------------------------- 
| Trapped Exception: bsh.TargetError: Sourced file: inline evaluation of: ``import com.amazonaws.auth.AWSCredentials; import com.amazonaws.auth.BasicAWSCr . . . '' : Typed variable declaration : Object constructor : at Line: 13 : in file: inline evaluation of: ``import com.amazonaws.auth.AWSCredentials; import com.amazonaws.auth.BasicAWSCr . . . '' : new AmazonS3Client ( credentials ) 

Target exception: java.lang.NoSuchMethodError: org.apache.http.conn.ssl.​
Environment:
DevTest 10.1 version
Cause:
DevTest install uses the different version of HTTP client jars which caused the issue.
Resolution:
Coping the jars httpclient-4.5.5.jar and httpcore-4.4.9.jar to DevTest/hotDeploy and set the environment variable LISA_PRE_CLASSPATH to DevTest/hotDeploy folder resolved the issue.
Additional Information:
https://stackoverflow.com/questions/37689319/what-version-of-httpclient-is-compatible-with-the-amazon-sdk-v-1-11-5.