启动Eureka注册中心报错
错误信息
com.netflix.discovery.shared.transport.TransportException: Cannot execute request on any known server
javax.ws.rs.WebApplicationException: null
原因
在application.yml文件中,
eureka:
client:
service-url:
defaultZone: http://localhost:10086
有错误,应该改为
eureka:
client:
service-url:
defaultZone: http://localhost:10086/eureka