美文网首页
Spring Cloud搭建eureka client时ctrl

Spring Cloud搭建eureka client时ctrl

作者: 扎你p屁 | 来源:发表于2018-11-22 15:17 被阅读0次

学习Spring Cloud过程中,在测试eureka集群可用性时,发现用ctrl+c结束程序总是报错,BeanCreationNotAllowedException,导致client无法从注册中心unregister,修正方法,在properties文件中加

spring.cloud.refresh.enabled=false

即可

相关文章

网友评论

      本文标题:Spring Cloud搭建eureka client时ctrl

      本文链接:https://www.haomeiwen.com/subject/xcplqqtx.html