Skip to content
This repository has been archived by the owner on Jul 28, 2023. It is now read-only.

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

Closed
anandlalvb-rvs opened this issue Jan 5, 2021 · 3 comments
Closed

Comments

@anandlalvb-rvs
Copy link

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
Copy link

sbuggan commented Feb 11, 2021

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

@eschulma
Copy link
Contributor

eschulma commented Feb 11, 2021

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
Copy link
Contributor

kiiadi commented Feb 16, 2021

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

@kiiadi kiiadi closed this as completed Feb 16, 2021
hunterwerlla pushed a commit that referenced this issue Feb 17, 2021
Newer versions of Eclipse have a mandatory Java 11 runtime, which has broken a number of critical functions in this plugin. Many classes were removed from Java 11 that existed in Java 8. Fortunately, the AWS SDK for Java has already done the hard work of replacing these, which we can take advantage of by updating that dependency.

Related issues:
#226, #222, #219, and several others. This is relevant for any version of Eclipse that requires JRE 11, such 2020-09 or higher.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants