✅ 操作成功!

Consider defining a bean of type ‘org.springframework.jms.core.JmsTemplate‘

发布时间:2023-06-12 作者:admin 来源:文学

Consider defining a bean of type ‘org.springframework.jms.core.JmsTemplate‘

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