Cannot convert from [com.lxyk.yygh.vo.order.OrderMqVo] to [java.nio.channels.Channel] for GenericMe

Rabbitmq导包有问题

之前导入nio,channel

Cannot convert from [com.lxyk.yygh.vo.order.OrderMqVo] to [java.nio.channels.Channel] for GenericMe_第1张图片

Cannot convert from [com.lxyk.yygh.vo.order.OrderMqVo] to [java.nio.channels.Channel] for GenericMe_第2张图片 

 

 这两个包容易导错

import com.rabbitmq.client.Channel;

import org.springframework.amqp.core.Message;

 

你可能感兴趣的:(rabbitmq,java)