Could not autowire. No beans of ‘RabbitTemplate’ type found.
自动装配报错:Could not autowire. No beans of ‘RabbitTemplate’ type found.很明显未配置rabbitTemplate,并非网上所谓的路径问题或者idea报错级别设置问题。解决方法,添加如下配置:application.yml:spring: rabbitmq: host: 192.1.1.10 port: 5672 username: admin password: admin virtual
原创
2022-05-27 15:54:32 ·
6256 阅读 ·
9 评论