Closed yuluo-yx closed 1 year ago
Auto-configuration of a RocketMQ org.apache.rocketmq.client.producer.DefaultMQProducer
bean is provided by the rocketmq-spring
project.
As noted in the migration guide, Spring Boot 3.0 requires auto-configurations to be registered differently than in previous versions of Spring Boot. It appears that rocketmq-spring
only uses the Spring Boot 2.x compatible way of registering auto-configurations, and needs to be updated to support Spring Boot 3.x. You;ll need to request that from the project maintainers.
项目
org.apache.rocketmq.client.producer.DefaultMQProducer
提供了RocketMQ bean 的自动配置。rocketmq-spring
如迁移指南中所述,Spring Boot 3.0 要求自动配置的注册方式与之前版本的 Spring Boot 不同。似乎
rocketmq-spring
只使用Spring Boot 2.x 兼容的方式注册自动配置,需要更新以支持 Spring Boot 3.x。您需要向项目维护者提出请求。
thanks!
background
I get the following error when I upgrade the version of Spring Boot from 2.6.7 to 3.0.0
description
Main class
spring boot version 3.0.0
spring boot version 2.6.7
demo
https://github.com/yuluo-yx/spring-boot-demo1