运行项目时报Update your application’s configuration

异常处理:Failed to bind properties under ‘eureka.client.service-url‘ to java.util.Map
一开始以为是缺少数据源,仔细查看后发现不是

原因:

异常处理:Failed to bind properties under ‘eureka.client.service-url‘ to java.util.Map
application.yml配置文件中:eureka.client.service-url后缺少defaultZone或yml格式不正确也会引发此类错误

解决:

异常处理:Failed to bind properties under ‘eureka.client.service-url‘ to java.util.Map
service-url后添加defaultZone

相关文章:

  • 2021-06-15
  • 2021-09-30
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-04-05
  • 2021-08-02
  • 2021-12-03
  • 2022-12-23
  • 2021-10-22
  • 2021-04-15
  • 2021-10-06
相关资源
相似解决方案