Spring-cloud-starter-feign could not find @ FeignClient comment

  1. spring-cloud-starter-feign is introduced, but there is no @ FeignClient annotation
  2. screenshot of creating a project






switch spring-cloud-starter-feign to spring-cloud-starter-openfeign


Please check that your package is imported correctly.
if the import is correct. Please check to see if the version is wrong. Different versions may delete or add some classes


  1. confirm whether the version of cloud is specified correctly under dependencyManagement
  2. reimport your pom file
Menu