-
Notifications
You must be signed in to change notification settings - Fork 239
AWS Lambda Environment fails to find S3EventNotification** class. Works locally #262
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
Comments
The issue seems to revolve around the lambda's environment class loader not functioning properly. The solution was to change the passed in class loader, i.e from |
@flipch I faced the same issue , the above mentioned solution works like a charm. |
Hello, I'm not supposed to see this in 2023 right? Or.... :) |
2024 yey |
aws-lambda-java-libs/aws-lambda-java-serialization/src/main/java/com/amazonaws/services/lambda/runtime/serialization/events/serializers/S3EventSerializer.java
Lines 103 to 114 in 3ab2213
Something seems to be failing here when trying to find the
com.amazonaws.services.lambda.runtime.events.models.s3.S3EventNotification**
classes as my lambda clearly has them available. I've exported from the AWS Console and extracted the jar file.Yet I still get a runtime error when attempting to deserialize a string into an
S3Event
Or when instantiating an deserializer for
S3EventNotificationRecord
The text was updated successfully, but these errors were encountered: