Deploying on Elastic Beanstalk

Hey i’m stuck with this problem. I’ve been trying to upload a war file to elastic beanstalk and i keep getting this error “A problem occured while uploading to S3”. I’m using tomcat platform and single instance. Can someone please help me solving this error ?

Hey Rishabh, most likely the problem is the conflict of names of war files already present on S3. With previous attempts, war files with same name would have been created and S3 doesn’t allow you to create objects with the same key. Just change the name of your war file and upload again.
Also, make sure you are exporting the war file correctly. (Right click on your project and export as war file)