There are an error in the Feign CDI module, when the producer bean tries to get the bean client scope annotation.
Calling getClass() on an annotation may return a proxy class instead of wanted class.
Related pull request: #7
Related issue: OpenFeign/feign#925