I have a Spring Boot application on Elastic BeansTalk and it works perfectly. Also deploying the jar has no issues at all.
I'm trying to deploying the app using the EB command line interface but I get this error I can't understand
darko [Analytics] $ eb deploy Uploading Volta demo/app-44a2-181003_171058.jar to S3. This may take a while. Upload Complete. 2018-10-03 15:11:00 INFO Environment update is starting.
2018-10-03 15:11:09 INFO Deploying new version to instance(s). 2018-10-03 15:11:13 ERROR Unable to launch application as the source bundle does not contain either a file named application.jar or a Procfile. 2018-10-03 15:11:15 ERROR [Instance: i-0252754fc608a26ac] Command failed on instance. Return code: 1 Output: (TRUNCATED)...ics/pom.properties
Unable to launch application as the source bundle does not contain either a file named application.jar or a Procfile. Unable to launch application as the source bundle does not contain either a file named application.jar or a Procfile. Hook /opt/elasticbeanstalk/hooks/appdeploy/pre/01_configure_application.sh failed. For more detail, check /var/log/eb-activity.log using console or EB CLI. 2018-10-03 15:11:15 INFO Command execution completed on all instances. Summary: [Successful: 0, Failed: 1]. 2018-10-03 15:11:15 ERROR Unsuccessful command execution on instance id(s) 'i-0252754fc608a26ac'. Aborting the operation. 2018-10-03 15:11:16 ERROR Failed to deploy application.
Any idea about what's missing?