aws / aws-toolkit-eclipse

(End of life: May 31, 2023) AWS Toolkit for Eclipse
http://aws.amazon.com/eclipse
Apache License 2.0
275 stars 179 forks source link

uploading java lamda function #165

Open Siri-1997 opened 4 years ago

Siri-1997 commented 4 years ago

Unable to export project [StatusReportLamda] to jar file JAR creation failed. See details for additional information.

erakadjiev commented 4 years ago

Probably you are using a newer version than Java 8 and that's the problem. You need to use Java 8 for your projects containing Lambda handlers.

I got the same JAR export errors when I was trying with Java 11 and couldn't make it work. AWS Lambda introduced Java 11 support recently, and I assume the AWS Eclipse Toolkit doesn't support it yet.