学习Spring Cloud过程中,在测试eureka集群可用性时,发现用ctrl+c结束程序总是报错,BeanCreationNotAllowedException,导致client无法从注册中心unregister,修正方法,在properties文件中加
spring.cloud.refresh.enabled=false
即可
学习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
网友评论