当前位置:   article > 正文

记一次rabbitmq+MongoDB错误_expected to be able to resolve a type but got null

expected to be able to resolve a type but got null! this usually stems from

记一次rabbitmq+MongoDB错误

Spring Boot RabbitMQ Execution of Rabbit message listener failed

错误现象:队列堆积 消息无法被消费 一直推送

错误原因:消息确认过程中出现代码错误问题导致消息无法被消费

进一步查找原因:确认消息过程中rabbitmq删除操作出现问题

Expected to be able to resolve a type but got null! This usually stems from types implementing raw Map or Collection interfaces!

查看map有关数据

image-20220501152556583

解决方法

image-20220501152700980

提醒:

​ 遇到错误不要想当然的过分关注某一个点
​ 应该关注整个错误日志 从每一个可以进入的错误点找原因

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/我家自动化/article/detail/625956
推荐阅读
相关标签
  

闽ICP备14008679号