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

Deploy Serverless Project hangs indefinitely at 10% progress #247

Open Sps-Ray opened 2 years ago

Sps-Ray commented 2 years ago

This problem was reported here, and I have the same problem: https://stackoverflow.com/questions/69608139/awstoolkit-for-eclipse-deploy-serverless-project-hangs-at-10.

I am simply trying the simplest of Java Lambda deployment, i.e. the HelloServerless project. I've tried both Windows and Ubuntu environments. Both have exactly the same outcome. Running "Deploy Serverless Project ..." hangs at 10% progress, and the progress info says: "Deploying Serverless template to AWS CloudFormation.: Uploading Lambda function to S3 ..."

My Windows environment is:

My Ubuntu environment is:

I'm not sure this is related, but although AWS Explorer seems to work, in that clicking on "Amazon S3" correctly lists my S3 buckets, likewise when I explore with "Amazon EC2". However, when I try to upload a file to S3 by dragging and dropping a simple, small text file on the selected S3 bucket tab, I get the following failure:

"Error uploading README.html: Unable to complete transfer: javax/xml/bind/JAXBException"

Sps-Ray commented 2 years ago

I just tried a fresh install of Eclipse Java EE IDE for Web Developers, Version: Oxygen.2 Release (4.7.2), Build id: 20171218-0600 and I was able to build and run "Deploy Serverless Project ..." successfully in the same Windows environment as above. The problem seems to be related to the latest Eclipse release.