Steps to run this project:
- Clone this Git repository
- Navigate to the folder
serverless-java-aws-examples/simple-aws-lambda
- Build the project with Maven
mvn package
- Follow the required AWS and Serverless setup steps described in here
- Deploy the AWS Lambda with Serverless
serverless deploy -v
- Execute the Lambda with
serverless invoke -f simpleLambda -d 'Hello World!'