问题汇总:
- 在配置pom时引入eureka依赖时,容易报错,下面是正确的依赖,可以对比自己的是否出错,如果报错,应该是报错【org.springframework.beans.factory.BeanDefinitionStoreException: Failed to process import candidates】,如果出现错误,确保pom是否与下面的一致:
<dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-netflix-eureka-server</artifactId> </dependency>
- 确保配置没有问题后,如果出现以下错误:【
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.M