Listener threw exception
2019-07-31 20:07:44.751 WARN 13048 --- [cTaskExecutor-2] s.a.r.l.ConditionalRejectingErrorHandler : Execution of Rabbit message listener failed.
org.springframework.amqp.rabbit.listener.exception.ListenerExecutionFailedException: Listener threw exception
Caused by: org.springframework.amqp.support.converter.MessageConversionException: failed to convert serialized Message content
Caused by: java.lang.IllegalStateException: Could not deserialize object type
Caused by: java.lang.ClassNotFoundException: cn.waqwb.springbootproducer.entity.Order
2019-07-31 20:07:44.754 ERROR 13048 --- [cTaskExecutor-2] o.s.a.r.l.SimpleMessageListenerContainer : Execution of Rabbit message listener failed, and the error handler threw an exception
[spring-rabbit-2.1.4.RELEASE.jar:2.1.4.RELEASE]
老师,求助,这是异常的部分信息,停了程序,删除exchange和queue重新启动,依然还是这个错误,其中有个错误是加载不到order类,这个让我觉得很尴尬,不知道是因为哪里没有加载到,autowired都有