
Consider defining a bean of type ‘org.springframework.jms.core.JmsTemplate‘
<dependency> <groupId>org.apache.activemq</groupId> <artifactId>activemq-pool</artifactId> </dependency> 在 Spring Boot 中,此错误可能是由于使用了 activemq-pool 引起的,在spring-boot-starter-parent 2.1 版本中已放弃支持。它被 pooled-jms 取代。 <dependency> <groupId>org.messaginghub</groupId> <artifactId>pooled-jms</artifactId> </dependency>
👁️ 阅读量:0
© 版权声明:本文《Consider defining a bean of type ‘org.springframework.jms.core.JmsTemplate‘》内容均为本站精心整理或网友自愿分享,如需转载请注明原文出处:https://www.zastudy.cn/wen/1686554869a290627.html。