0
votes

My Spring boot application works just fine on my locally installed Tomcat server. But when I deploy the same WAR to the Elastic Beanstalk and click the given URL, all I get is 404. No route specified in my Spring Boot application works here. What could be the possible reason?

server.port = 5000

1
did you check the AWS CDN configuration. also try to enable logs on debug mode and checkRajesh
I think I am not using CDN right now. All I did is simply deploying to the Elastic BeanStalkSachin Titus
Did you follow the instructions mentioned in the documentation?Arvind Kumar Avinash
@sachin-titus elastibeanstalk by default it use's CDNRajesh
@ArvindKumarAvinash yes I followed the documentation as isSachin Titus

1 Answers

0
votes

If you have deployed your application as ROOT.war then I guess the base path will be myapp.elasticbeanstalk.com/ or else if it is a path directly beneath it (eg app2.war) then it will run at myapp.elasticbeanstalk.com/app2/

Doc