-
Notifications
You must be signed in to change notification settings - Fork 146
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dependency on aws-java-sdk.version 1.9.6 #24
Comments
have you not tried just including the aws libraries you want directly in the pom and excluding the dependencies from this library? i am currently using this library w/ |
Thanks, I will try that. I wasn't aware of the POM dependency exclusion feature (I guess that's what you are referring to) and try 1.10.73. |
An easy trap to fall into happens if you only add the following dependency to your pom:
Where: {aws-sdk-version > 1.9.6} is some version greater than 1.9.6 This will cause all aws jars to be included with the newer version except to the specific sqs jar - that one will still have version 1.9.6. The reason for this is due to the fact that the amazon-sqs-java-messaging-lib pom includes an explicit version 1.9.6 dependency for the aws-java-sdk-sqs artifact. The resulting mismatched versions lead to the NoSuchMethodError above. To avoid this make sure you have the following dependency in your pom:
|
I tried jgangemi 's suggestion and it worked. Thx |
@sanjaypujare |
Use the exclusion feature described here This is for maven. Not sure about gradle. On Tue, Jul 19, 2016 at 10:02 PM, Eitan Sela notifications@github.com
|
@sanjaypujare |
Here it is
On Tue, Jul 19, 2016 at 10:11 PM, Eitan Sela notifications@github.com
|
I've got a similar issue with I'm using Gradle and I'm overriding the aws-java-sdk-sqs version. When the message is being acknowledged the following exception is thrown:
|
up to hopefully we'll get a response on this soon. |
We are aware of this issue and are working on a fix. Stay tuned. Trevor @ AWS |
does that mean some of the other things ppl have asked for, etc might also get addressed given this library is gonna get some love? |
We are actively working on this JMS library and will continue to support it going forward. |
awesome - i'd love to see #8 addressed since i want to use this library w/o the |
This issue is now fixed. |
it's great that this is fixed but you guys need to read up on semantic versioning - i don't think this qualifies as a bug fix. |
Hi Team, I am getting following error when try to conect to the AWS sqs with following libs,
14:07:16,927 WARN [org.springframework.jms.listener.DefaultMessageListenerContainer] Setup of JMS message listener invoker failed for destination 'testq' - trying to recover. Cause: com.amazonaws.services.sqs.AmazonSQS.deleteMessage(Lcom/amazonaws/services/sqs/model/DeleteMessageRequest;)V thanks |
Hi, My dependency:tree shows only these additional dependencies from a library I added: Do I need to add anything else? |
I noticed that this library depends on aws-java-sdk-sqs version 1.9.6 which conflicts with aws-java core version 1.10.73 we would like to use. Can this dependency be upgraded to 1.10.73 since 1.9.6 seems quite old now? BTW, these 2 versions are incompatible as I found out the hard way
java.lang.NoSuchMethodError: com.amazonaws.AmazonWebServiceRequest.copyPrivateRequestParameters()Ljava/util/Map;
The text was updated successfully, but these errors were encountered: