控制台报错的全部信息如下
Description:
Failed to bind properties under 'eureka.client.service-url' to java.util.Map<java.lang.String, java.lang.String>:
Reason: No converter found capable of converting from type [java.lang.String] to type [java.util.Map<java.lang.String, java.lang.String>]
Action:
Update your application's configuration
原因翻译过来就是无法将String类型的数据自动转成Map,检查本地的YMl 文件后发现: 后面少了一个空格 加上后问题解决!