You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2019/11/14 06:06:55 UTC

[GitHub] [rocketmq-spring] afeicool commented on issue #157: @ConditionalOnBean (types: org.apache.rocketmq.client.producer.DefaultMQProducer; SearchStrategy: all)

afeicool commented on issue #157: @ConditionalOnBean (types: org.apache.rocketmq.client.producer.DefaultMQProducer; SearchStrategy: all) 
URL: https://github.com/apache/rocketmq-spring/issues/157#issuecomment-553739910
 
 
   same issue:
   
   apollo config:
   
   rocketmq.nameServer=http\://onsaddr.mq-internet-access.mq-internet.aliyuncs.com\:80
   rocketmq.producer.group=GID_xxxx
   
   ----
   
   error mssage:
   
   Action:
   
   Consider revisiting the entries above or defining a bean of type 'org.apache.rocketmq.spring.core.RocketMQTemplate' in your configuration.
   
   2019-11-14 14:04:28,215 [main] ERROR org.springframework.boot.diagnostics.LoggingFailureAnalysisReporter - 
   
   ***************************
   APPLICATION FAILED TO START
   ***************************
   
   Description:
   
   Parameter 0 of constructor in com.vphoto.ai.image.core.controller.TagsDetectController required a bean of type 'org.apache.rocketmq.spring.core.RocketMQTemplate' that could not be found.
   
   The following candidates were found but could not be injected:
   	- Bean method 'rocketMQTemplate' in 'RocketMQAutoConfiguration' not loaded because @ConditionalOnBean (types: org.apache.rocketmq.client.producer.DefaultMQProducer; SearchStrategy: all) did not find any beans of type org.apache.rocketmq.client.producer.DefaultMQProducer
   
   
   Action:
   
   Consider revisiting the entries above or defining a bean of type 'org.apache.rocketmq.spring.core.RocketMQTemplate' in your configuration.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services