spring boot服务启动失败Field xxxService in com.xxx.xxxService required a bean of ‘xxx‘ that could not be

报错信息如下,

Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2023-05-23 16:36:09.444 ERROR 14592 --- [           main] o.s.b.d.LoggingFailureAnalysisReporter   : 

***************************
APPLICATION FAILED TO START
***************************

Description:

Field remoteLogService in com.trunk.xxx.service.xxService required a bean of type 'com.trunk.xxx.api.xxxService' that could not be found.

The injection point has the following annotations:
    - @org.springframework.beans.factory.annotation.Autowired(required=true)


Action:

Consider defining a bean of type 'com.trunk.xxx.api.xxxService' in your configuration.

2023-05-23 16:36:09.445  WARN 14592 --- [       Thread-3] c.a.n.common.http.HttpClientBeanHolder   : [HttpClientBeanHolder] Star

猜你喜欢

转载自blog.csdn.net/y15201653575/article/details/130830080
今日推荐