DAY12分布式事务AmqpConnectException: java.net.ConnectException: Connection refused - 2021-10-01
1.报错如下: 订单微服务无法连接rabbitMQ发送不了添加tb_task消息org.springframework.amqp.AmqpConnectException:java.net.ConnectException:Connectionrefused:connectatorg.springframework.amqp.rabbit.support.RabbitExceptionTransl
·
1.报错如下: 订单微服务无法连接rabbitMQ发送不了添加tb_task消息
org.springframework.amqp.AmqpConnectException: java.net.ConnectException: Connection refused: connect
at org.springframework.amqp.rabbit.support.RabbitExceptionTranslator.convertRabbitAccessException
2. 原因: 忘记在application.yml配置rabbit主机
更多推荐
已为社区贡献1条内容
所有评论(0)