You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
aws-java-sdk-bundle is one of the modules in the AWS SDK repository. Its purpose is to shade all of the SDK's third-party dependencies such as Jackson or org.apache.commons.logging.
In the AmazonSQSExtendedClient class there is a method getTextFromS3(). Within that method, there is a call to IOUtils.closeQuietly(is, LOG);. LOG is of type org.apache.commons.logging.Log. The problem is, if you use the shaded version of the SDK, then IOUtils.closeQuietly is expecting com.amazonaws.thirdparty.apache.logging.Log instead, which causes it to throw a java.lang.NoSuchMethodError.
I believe this problem could be solved by converting this library into multiple modules and offer a shading module with the exact same rules as aws-java-sdk-bundle.
The text was updated successfully, but these errors were encountered:
aws-java-sdk-bundle
is one of the modules in the AWS SDK repository. Its purpose is to shade all of the SDK's third-party dependencies such as Jackson ororg.apache.commons.logging
.In the
AmazonSQSExtendedClient
class there is a methodgetTextFromS3()
. Within that method, there is a call toIOUtils.closeQuietly(is, LOG);
.LOG
is of typeorg.apache.commons.logging.Log
. The problem is, if you use the shaded version of the SDK, thenIOUtils.closeQuietly
is expectingcom.amazonaws.thirdparty.apache.logging.Log
instead, which causes it to throw ajava.lang.NoSuchMethodError
.I believe this problem could be solved by converting this library into multiple modules and offer a shading module with the exact same rules as
aws-java-sdk-bundle
.The text was updated successfully, but these errors were encountered: