Could not autowire.No beans of ‘ConnectionFactory‘ type found 观世界 2022-05-12 520 阅读1分钟 编辑 Could not autowire.No beans of 'ConnectionFactory' type found 错误的原因主要在于导错包 编辑 正确的包,应该为 import org.springframework.amqp.rabbit.connection.ConnectionFactory; 编辑 \