Spring注解与SpringBoot注解冲突:自定义Spring Boot Starter,服务启动类的@ComponentScan使@AutoConfigureAfter不起作用

Spring注解与SpringBoot注解冲突:自定义Spring Boot Starter,服务启动类的@ComponentScan使@AutoConfigureAfter不起作用,第1张

Spring注释与SpringBoot注释冲突:自定义SpringBoot Starter,服务启动类的@ComponentScan使@AutoConfigureAfter无效。Spring标注与Spring Boot标注冲突:自定义Spring Boot启动器,启动服务类的@ components can makes @ auto configure无效引入后:自定义一个SpringBoot启动器,封装了阿里云MQ生产者和消费者的自动配置以及相关的maven依赖。 它依赖于spring-boot-starter-data-re。

欢迎分享,转载请注明来源:聚客百科

原文地址: http://juke.outofmemory.cn/life/1861727.html

()
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-10-01
下一篇 2022-10-01

发表评论

登录后才能评论

评论列表(0条)

保存