背景:
启动spring boot项目的时候,突然报错。
org.springframework.amqp.rabbit.listener.exception.ListenerExecutionFailedException: Listener method could not be invoked with the incoming message
网上说是引用包错了,但是之前启动好的,并没有修改代码。
查看以后发现,还有未消费成功的,所以启动不了。
手工清除,或者直接删除就可以了。
再次启动成功。
原文:https://www.cnblogs.com/jiduoduo/p/14901114.html