Description:
Parameter 3 of method eurekaRegistration in org.springframework.cloud.netflix.eureka.EurekaClientAutoConfiguration$RefreshableEurekaClientConfiguration required a bean of type ‘com.netflix.appinfo.HealthCheckHandler’ that could not be found.
- Bean method ‘eurekaHealthCheckHandler’ not loaded because @ConditionalOnProperty (eureka.client.healthcheck.enabled) did not find property ‘eureka.client.healthcheck.enabled’
Action:
Consider revisiting the conditions above or defining a bean of type ‘com.netflix.appinfo.HealthCheckHandler’ in your configuration.
解决方法:
添加如下配置:
eureka.client.healthcheck.enabled=true
转载至https://blog.csdn.net/u014621467/article/details/84647726