![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
rabbitmq
YaXinShi
相逢即天涯,相伴自心间
展开
-
访问不了docker容器内的rabbitmq地址
解决方案:仔细看看你下载的镜像,要下载rabbitmq:management这个镜像,不要一上来就docker pull rabbitmq 然后就到rabbitmq的页面了,使用默认的账号:guest和默认的密码guest进行登录操作啦 ...原创 2019-07-22 21:43:33 · 952 阅读 · 0 评论 -
java.lang.Exception: No tests found matching Method receive(com.shiyaxin.amqp.Springboot02AmqpApplic
**解决方案:**我是在我测试类写的一个方法上面忘了加@Test这个注解,加上就ok原创 2019-07-23 11:31:34 · 365 阅读 · 0 评论 -
receive接收消息方法.lang.NullPointerException at com.amqp.Springboot02AmqpApplicationTests.receive(Spring
在使用Rabbitmq的时候,写的一个接收消息的方法报这个错 原因为:消息接收一次就完了,再执行当然错啦,为空原创 2019-07-23 13:19:10 · 328 阅读 · 0 评论 -
ava.lang.Exception: No tests found matching Method sendMsg(com.shiyaxin.amqp.Springboot02AmqpApplica
在测试类里的一个方法,一般这种情况都是没在方法上面加@Test注解,记着,所有测试类里面的方法都要加@Test注解 解决办法:在方法上面加上@Test原创 2019-07-23 13:57:07 · 423 阅读 · 0 评论