`
@Serviceclass ManagmentService{
@AutowiredServiceClient serviceClient;
......
}
@FeignClientinteface ServiceClient{
....
}`
ApplicationContext app = new AnnotationConfigApplicationContext("
pakage.name");
app.getBean(ManagmentService.class);
выходить ошибка No qualifying bean of type 'XXX' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {}
просить чтобы я конкретно указал реализацию ServiceClient
но сервис клиент у меня фейн класс
кто нибудь сталкивался?