本文共 141 字,大约阅读时间需要 1 分钟。
今天使用了spring-kafka,发现出现了Could not autowire. No beans of 'KafkaTemplate<String, String>' type found,找了很久,也没找到原因。
后面试了换了一下springboot的版本后正常,表示无语。