尚医通,rabbitMQ报错
org.springframework.amqp.AmqpRejectAndDontRequeueException: Error Handler converted exception to fatal
Caused by: org.springframework.amqp.rabbit.support.ListenerExecutionFailedException: Listener method could not be invoked with the incoming message
Caused by: org.springframework.messaging.converter.MessageConversionException: Cannot convert from [[B] to [com.atguigu.yygh.vo.msm.MsmVo] for GenericMessage [payload=byte[227], headers={amqp_receivedDeliveryMode=PERSISTENT, amqp_receivedExchange=exchange.direct.msm, amqp_deliveryTag=1, amqp_consumerQueue=queue.msm.item, amqp_redelivered=false, amqp_receivedRoutingKey=msm.item, amqp_contentEncoding=UTF-8, id=969ea9e8-4f91-50ba-9ebc-c261436b0503, amqp_consumerTag=amq.ctag-W2IiAUHE0pnVkjTUhpuuXA, amqp_lastInBatch=false, contentType=application/json, TypeId=com.atguigu.yygh.vo.msm.MsmVo, timestamp=1646923487363}]
at org.springframework.messaging.handler.annotation.support.PayloadMethodArgumentResolver.resolveArgument(Payl