Created
July 2, 2021 22:34
-
-
Save kevinhooke/07e5a900252fb8dc6ff3c98df60e0b54 to your computer and use it in GitHub Desktop.
Serverless framework Java Lambda - invoke local logger error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sls invoke local --function functionname | |
NoSuchMethodError: 'void com.amazonaws.services.lambda.runtime.LambdaLogger.log ... | |
Per https://github.com/serverless/serverless/issues/5155 | |
change aws-lambda-java-log4j2 verion in pom.xml to 1.0.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment