Eureka will report an error for the first start and solve

The first start will report an error:

Because the Eureka client registers with the server, the server has not been started at this time, so the registration cannot be
configured

eureka:
  client:
      service-url:
          defaultZone: http://localhost:10086/eureka #server内置的client可以集群
    register-with-eureka: false # server 和client是同一台机器,没有配置集群
    fetch-registry: false #因为是同一台机器,所以我们无需拉取自己的信息

Eureka will report an error for the first start and solve

Guess you like

Origin blog.51cto.com/14322706/2486013