ActiveMQ 无法注入 jmsMessagingTemplate

 报错,显示无法注入使用 JmsMessagingTemplate jmsMessagingTemplate :

解决方案:

 

替换的依赖如 :

        <dependency>
                   <groupId>org.messaginghub</groupId>
                   <artifactId>pooled-jms</artifactId>
        </dependency>

 ps:我出错时springboot版本为2.1.16.RELEASE

猜你喜欢

转载自blog.csdn.net/qq_35387940/article/details/108117866