AWS Lambda Java: Lambda was not able to unzip the file
问题 I'm trying to use Java with AWS Lambda. I created a jar file with all dependencies (using maven-assembly-plugin). Upon uploading, I cannot call the lambda. I receive the error Calling the Invoke API failed with message: Lambda was not able to unzip the file . The jar file is 11 MB. I can execute the jar with java -jar 回答1: maven-assemply-plugin needs to be told to output a zip , not a jar . (I didn't even know there was a difference!) Add this to its configuration: <plugin> <groupId>org