SpringCloud项目Eureka的demo
出如下异常:
2017-08-02 16:26:00.654 WARN 3816 --- [nfoReplicator-0] c.n.discovery.InstanceInfoReplicator : There was a problem with the instance info replicator
com.netflix.discovery.shared.transport.TransportException: Cannot execute request on any known server
在application.yml配置文件中,设置
eureka:client:
register-with-eureka: false
fetch-registry: false