<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>
更多推荐
Consider defining a bean of type ‘org.springframework.jms.core.JmsTemplate‘
发布评论