1 org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userEmailController': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.wf.emailservice.backend.service.core.IUserEmailService com.wf.emailservice.backend.web.controller.UserEmailController.userEmailService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userEmailService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.wf.emailservice.backend.service.core.IVivofsService com.wf.emailservice.backend.service.core.impl.UserEmailService.vivofsService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'vivofsService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.apache.http.impl.client.CloseableHttpClient com.wf.emailservice.backend.service.core.impl.VivofsService.httpClient; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [org.apache.http.impl.client.CloseableHttpClient] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}
错误形式一: No qualifying bean of type [org.apache.http.impl.client.CloseableHttpClient] 无法找到相应的bean
1 No qualifying bean of type [org.apache.http.impl.client.CloseableHttpClient] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}