java.lang.NoSuchMethodError: com.amazonaws.http.AmazonHttpClient.disableStrictHostnameVerification()V

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

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by MojoJojo
, 1 year ago
com.amazonaws.http.AmazonHttpClient.disableStrictHostnameVerification()V
java.lang.NoSuchMethodError: com.amazonaws.http.AmazonHttpClient.disableStrictHostnameVerification()V
at com.amazonaws.services.s3.AmazonS3Client.init(AmazonS3Client.java:444)
at com.amazonaws.services.s3.AmazonS3Client.(AmazonS3Client.java:391)
at com.amazonaws.services.s3.AmazonS3Client.(AmazonS3Client.java:368)
at com.amazonaws.services.s3.AmazonS3Client.(AmazonS3Client.java:350)
at com.amazonaws.services.s3.AmazonS3Client.(AmazonS3Client.java:334)
at ohnosequences.ivy.S3Repository.(S3Repository.java:85)
at ohnosequences.ivy.S3Resolver.(S3Resolver.java:48)
at ohnosequences.sbt.SbtS3Resolver$autoImport$S3Resolver.(SBTS3Resolver.scala:14)
at ohnosequences.sbt.SbtS3Resolver$$anonfun$projectSettings$7$$anonfun$apply$1.apply(SBTS3Resolver.scala:101)
at ohnosequences.sbt.SbtS3Resolver$$anonfun$projectSettings$7$$anonfun$apply$1.apply(SBTS3Resolver.scala:101)
at undefined.ServerSettings$$anonfun$24.apply(ServerSettings.scala:125)
at undefined.ServerSettings$$anonfun$24.apply(ServerSettings.scala:119)
at sbt.EvaluateSettings$MixedNode.evaluate0(INode.scala:175)
at sbt.EvaluateSettings$INode.evaluate(INode.scala:135)
at sbt.EvaluateSettings$$anonfun$sbt$EvaluateSettings$$submitEvaluate$1.apply$mcV$sp(INode.scala:69)
at sbt.EvaluateSettings.sbt$EvaluateSettings$$run0(INode.scala:78)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

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