今天在Feign搭建中想追下新,把1.3.5.RELEASE版本改成了1.4.0.RELEASE版本,然后就莫名其妙报这个错了,这么解决都莫法。。。
完整报错:org.springframework.core.annotation.AnnotationConfigurationException: Attribute ‘value’ in annotation [org.springframework.cloud.netflix.feign.FeignClient] must be declared as an @AliasFor [serviceId], not [name].
最后把版本改回去就好了。。。哎、、、Spring Cloud还很不成熟
- Angel版本对应Spring Boot 1.2.x
- Brixton版本对应Spring Boot 1.3.x
- Camden版本对应Spring Boot 1.4.x