turing1989 opened a new issue, #509:
URL: https://github.com/apache/rocketmq-spring/issues/509
pom
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.apache.rocketmq</groupId>
<artifactId>rocketmq-spring-boot-starter</artifactId>
<version>2.2.2</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
appliction.yml
rocketmq:
name-server: rocket.smart-change.local:9876
isVIPChannel: false
producer:
group: change-group
send-message-timeout: 30000
[then]
Error starting ApplicationContext. To display the condition evaluation
report re-run your application with 'debug' enabled.
2022-12-30T15:07:39.149+08:00 ERROR 48444 --- [ main]
o.s.b.d.LoggingFailureAnalysisReporter :
***************************
APPLICATION FAILED TO START
***************************
Description:
Field rocketMQTemplate in com.future.change.smart.changecloud.TestController
required a bean of type 'org.apache.rocketmq.spring.core.RocketMQTemplate' that
could not be found.
The injection point has the following annotations:
- @org.springframework.beans.factory.annotation.Autowired(required=true)
Action:
Consider defining a bean of type
'org.apache.rocketmq.spring.core.RocketMQTemplate' in your configuration.
Disconnected from the target VM, address: '127.0.0.1:59240', transport:
'socket'
Process finished with exit code 1
How can i do it well in Spring boot 3.0.0
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]