-
Notifications
You must be signed in to change notification settings - Fork 35
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
NoSuchMethodError: com.amazonaws.transform.JsonUnmarshallerContext.getCurrentToken() #3
Comments
The fix in the forum post also works for me, changing the AWS dependancies from LATEST to 1.9.5 fixes it. |
Apologies to everyone who got tripped up by this incorrect pom. I have now updated the project pom.xml to use fixed dependencies on version 1.9.7 of the AWS SDK as well as Commons IO and Collections. Please do post any further issues you might have here. |
With this pom I get the following error:
|
Yep - looks like we have some work to do on the Jackson dependencies. I've run the producer with the now updated pom.xml (aws dependencies on version 1.9.5 and explicit dependencies on jackson) and it works ok. Please let me know if you still have issues, and thanks for your patience and perseverance. Ian |
Yep can confirm latest version is working now. Thanks. |
I am using latest versions of jackson(2.6.3). But it's not working facing the same issue. |
Any body having complete java program to access AWS S3 KMS. |
@sankarinnoart Understood - currently with the way that the AWS SDK talks to Jackson, you have to use the version included in the pom. I am now researching a full update of all the dependencies to see if we can get to the latest version of Jackson. |
From https://forums.aws.amazon.com/thread.jspa?messageID=585971:
Generating Sensor 1
Exception in thread "main" java.lang.NoSuchMethodError: com.amazonaws.transform.JsonUnmarshallerContext.getCurrentToken()Lcom/fasterxml/jackson/core/JsonToken;
at com.amazonaws.services.kinesis.model.transform.PutRecordResultJsonUnmarshaller.unmarshall(PutRecordResultJsonUnmarshaller.java:40)
at com.amazonaws.services.kinesis.model.transform.PutRecordResultJsonUnmarshaller.unmarshall(PutRecordResultJsonUnmarshaller.java:31)
at com.amazonaws.http.JsonResponseHandler.handle(JsonResponseHandler.java:104)
at com.amazonaws.http.JsonResponseHandler.handle(JsonResponseHandler.java:41)
at com.amazonaws.http.AmazonHttpClient.handleResponse(AmazonHttpClient.java:730)
at com.amazonaws.http.AmazonHttpClient.executeHelper(AmazonHttpClient.java:417)
at com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:245)
at com.amazonaws.services.kinesis.AmazonKinesisClient.invoke(AmazonKinesisClient.java:2326)
at com.amazonaws.services.kinesis.AmazonKinesisClient.putRecord(AmazonKinesisClient.java:557)
at producer.SensorReadingProducer.run(SensorReadingProducer.java:151)
at producer.SensorReadingProducer.main(SensorReadingProducer.java:167)
The text was updated successfully, but these errors were encountered: