I faced this issue with spring boot version 3.4.1. It turns out that correct version of spring-cloud-starter-openfeign needed to be used. For spring boot version 3.4.1, it was 2024.0.X. See the page Spring Cloud 2024.0.0