Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kevinhooke/07e5a900252fb8dc6ff3c98df60e0b54 to your computer and use it in GitHub Desktop.
Save kevinhooke/07e5a900252fb8dc6ff3c98df60e0b54 to your computer and use it in GitHub Desktop.
Serverless framework Java Lambda - invoke local logger error
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