Spring boot startup error for AWS application : There is not EC2 meta data available

前端 未结 8 1680
遥遥无期
遥遥无期 2021-01-07 16:43

I am getting the below error when I am trying to run a Spring boot-AWS application locally :

There is not EC2 meta data available, because the application is

8条回答
  •  余生分开走
    2021-01-07 17:00

    I also faced the same issue but it did not get resolved after adding the aws region property. I was able to resolved the same when I removed spring-cloud-starter-aws dependency from my pom

提交回复
热议问题