Closed treyfarmigoni closed 11 months ago
Had this issue as well. They seem to have pushed new base image to docker, so new image builds work. I was using the public.ecr.aws/lambda/java:17 .
right, new images with the fix have been published. Thanks for your patience
The jar located in /var/runtime/lib/aws-lambda-java-serialization-0.2.0.jar seems to have changed from previous versions.
The old package layout from a previous container version is below (everything is relocated under
com.amazonaws.lambda.thirdparty...
)However, with the latest jar, it seems that some of the jackson packages are no longer relocated, causing the real version to never be loaded.
This eventually causes issues when performing jackson serialization such as: