编程知识 cdmana.com

not exist:org.springframework.kafka.listener.AbstractMessageListenerContaingetContainerProperties()

The error information is as follows :

 Insert picture description here

answer :

The reason for the problem is jar Package version , This means in org.springframework.cloud.sleuth This package calls
org.springframework.kafka.listener.AbstractMessageListrenerContainer Of getContainerProperties() This method , Then this method is in the dependent spring-kafka Not in the bag . My solution is to change spring-cloud The version of the package .
Use the current springboot Version of spring-cloud(springcloud Version from Finchley.SR2 Change into Greenwich.RELEASE)

版权声明
本文为[Programmer base]所创,转载请带上原文链接,感谢
https://cdmana.com/2021/10/20211002150159622r.html

Scroll to Top