spring boot 常见错误解决

Posted whm-blog

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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

以上是关于spring boot 常见错误解决的主要内容,如果未能解决你的问题,请参考以下文章