前景提要
HDC调试需求开发(15万预算),能者速来!>>> activemq: broker-url: tcp://10.47.141.33:11111,tcp://10.47.141.33:11211,tcp://10.47.141.33:11311 user: admin password: admin packages: trust-all: true pool: enabled: true in-memory: true
pool.enabled=false 可以启动成功, 但是如果是true就启动失败,已经引入
<dependency> <groupId>org.apache.activemq</groupId> <artifactId>activemq-pool</artifactId> <version>5.15.7</version> </dependency>
以下是错误信息
The following candidates were found but could not be injected:
- Bean method 'jmsMessagingTemplate' in 'JmsAutoConfiguration.MessagingTemplateConfiguration' not loaded because Ancestor org.springframework.boot.autoconfigure.jms.JmsAutoConfiguration did not match
No qualifying bean of type 'org.springframework.jms.core.JmsMessagingTemplate' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}