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 Lambda function failed in Eclipse 2020-12 (4.18.0) #222

Closed anandlalvb-rvs closed 3 years ago

anandlalvb-rvs commented 3 years ago

I am using Eclipse Version: 2020-12 (4.18.0) Build id: 20201210-1552.

Uploading lambda function is failing with below error

An internal error occurred during: "Uploading function code to Lambda". javax/xml/bind/JAXBException

Screen Shot 2021-01-05 at 3 34 23 PM
sbuggan commented 3 years ago

Could someone share are these any solutions found out for this problem?

eschulma commented 3 years ago

Later versions of Eclipse use the Java 11 runtime, which removed this class among many others, and the plugin is running a very old version of the AWS Java SDK. I have opened a pull request #227 which I hope gets approved, in the meantime, you would need to use an older version of Eclipse instead. The 2019 ones use Java 8.

kiiadi commented 3 years ago

currently the eclipse toolkit is not compiled for Java11 - there's a tracking issue open for this : https://github.com/aws/aws-toolkit-eclipse/issues/171