liuxuzxx commented on issue #98: A component required a bean of type 'org.apache.rocketmq.spring.core.RocketMQTemplate' that could not be found URL: https://github.com/apache/rocketmq-spring/issues/98#issuecomment-597971251 我也出现了这个问题,版本是2.1.0.后来看了下application.yml配置为 ``` spring: rocketmq: name-server: xxxxx producer: group:xxxxxx ``` 看了下RocketMQAutoConfiguration,[笑哭]了,原来配置前缀是prefix="rocketmq"不是prefix="spring.rocketmq" 正确的配置应该是: ``` rocketmq: name-server: 172.16.21.138:9876 producer: group: short-message ``` 主要是看着datasource,redis,es都是以spring为前缀,也就想当然认为rocketmq也是以spring为大前缀
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
