spring boot 常见错误解决

1.报此错误:2017-06-07 09:02:44.308 ERROR 340 --- [et_localhost-19] c.n.e.cluster.ReplicationTaskProcessor : Batch update failure with HTTP status code 401; discarding 1 replication tasks

  检查是否配置 (要检查 eureka -server 而不是 client)

eureka:
  instance:
    hostname: localhost

猜你喜欢

转载自www.cnblogs.com/whm-blog/p/10852361.html