Closed yangguang001 closed 6 years ago
MyService api = Feign.builder().client(RibbonClient.create()).target(MyService.class, "https://myAppProd");
public DynamicIntProperty(String propName, int defaultValue) {
super(propName, Integer.valueOf(defaultValue));
}
should be
public DynamicIntProperty(String propName, int defaultValue) {
public super(propName, Integer.valueOf(defaultValue));
}
This appears to be a dependency resolution problem in your project. If you do not want to use the version of Ribbon referenced by Feign, exclude it or override it.
but in springcloud version, this was use ribbin 2.2.0, it was ok