## RabbitMQ整合遇到的问题

SpringBoot整合RabbitMQ遇到的问题:
出现问题报错情况如下:

org.springframework.amqp.AmqpAuthenticationException: com.rabbitmq.client.AuthenticationFailureException: ACCESS_REFUSED - Login was refused using authentication mechanism PLAIN. For details see the broker logfile.

Caused by: com.rabbitmq.client.AuthenticationFailureException: ACCESS_REFUSED - Login was refused using authentication mechanism PLAIN. For details see the broker logfile.

大致错误如上。
解决办法:
在RabbitMQ的web可视化页面添加一个拥有administrator权限的新用户,将springboot项目中的application.properties中的配置改成这个用户的相关信息即可。

猜你喜欢

转载自blog.csdn.net/qq_40256699/article/details/84955021
今日推荐