aws / aws-toolkit-eclipse

(End of life: May 31, 2023) AWS Toolkit for Eclipse

Home Page:http://aws.amazon.com/eclipse

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Uploading Lambda function failed in Eclipse 2020-12 (4.18.0)

anandlalvb-rvs opened this issue · comments

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

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

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.

currently the eclipse toolkit is not compiled for Java11 - there's a tracking issue open for this : #171