标签:文件 work spring bsp tap ati 不能 自动 enable
按道理说,@SpringBootApplication 的 @EnableAutoConfiguration 会去找springboot-autoconfigure包里面的meta-inf下面的spring.factories文件
但是1.4.2版本是没有org.springframework.boot.autoconfigure.kafka.KafkaAutoConfiguration,的,所以kafkatemplate是不能自动注入的。1.5.8是可以自动从yml文件注入到spring工厂
标签:文件 work spring bsp tap ati 不能 自动 enable
原文地址:https://www.cnblogs.com/chuliang/p/9041001.html