框架学习

A component required a bean of type 'com.xxx.xxx.app.se.'that could not be found

因为注解没加

@Slf4j
@Service

 

产生以下问题

 


Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2022-06-27 14:50:51.253 ERROR 3080 --- [           main] o.s.b.d.LoggingFailureAnalysisReporter   : 

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

Description:

A component required a bean of type 'com.xxx.xxx.app.service.SysExamPaperAnswerService' that could not be found.


Action:

Consider defining a bean of type 'com.xxx.xxx.app.service.SysExamPaperAnswerService' in your configuration.

Disconnected from the target VM, address: '127.0.0.1:55974', transport: 'socket'

Process finished with exit code 1