AnnotationUtils.getAttributeAliasNames() has thrown an AnnotationConfigurationException

org.springframework.core.annotation.AnnotationConfigurationException
at org.springframework.core.annotation.AnnotationUtils$AliasDescriptor.validate
at org.springframework.core.annotation.AnnotationUtils$AliasDescriptor.from
at org.springframework.core.annotation.AnnotationUtils.getAttributeAliasNames

Typical Exception Messages

  1. Attribute [value] in annotation [org.springframework.cloud.netflix.feign.FeignClient] must be declared as an @AliasFor [serviceId], not [name].
  2. Attribute 'value' in annotation [org.springframework.cloud.netflix.feign.FeignClient] must be declared as an @AliasFor [serviceId], not [name].

Specific cases

We have seen this error pattern in the following webpages (3)

  1. tjuchniewiczvia GitHub1 year ago
    Attribute [value] in annotation [org.springframework.cloud.netflix.feign.FeignClient] must be declared as an @AliasFor [serviceId], not [name].
  2. Dave Syervia Spring JIRA1 year ago
    Attribute [value] in annotation [org.springframework.cloud.netflix.feign.FeignClient] must be declared as an @AliasFor [serviceId], not [name].
  3. Dave Syervia Spring JIRA2 years ago
    Attribute [value] in annotation [org.springframework.cloud.netflix.feign.FeignClient] must be declared as an @AliasFor [serviceId], not [name].