美文网首页
springboot rabbitMQ 启动报错

springboot rabbitMQ 启动报错

作者: 狗皮膏药w | 来源:发表于2020-07-23 11:34 被阅读0次

Caused by: org.springframework.amqp.rabbit.listener.BlockingQueueConsumer$DeclarationException: Failed to declare queue(s)

:[vip_seller_classplan_domain_queue_for_realloacate]

org.springframework.context.ApplicationContextException: Failed to start

bean 'org.springframework.amqp.rabbit.config.internalRabbitListenerEndpointRegistry';

nested exception is org.springframework.amqp.AmqpIllegalStateException: Fatal exception on listener startup

如果看见这个 caused by  先不用多想了, 去把 mq 的 queue 加上

Failed to declare queue(s)

:[vip_seller_classplan_domain_queue_for_realloacate]

就是 [xxxx]  里的xxxx

之后重启。

相关文章

网友评论

      本文标题:springboot rabbitMQ 启动报错

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