问题遇到的现象和发生背景
报错idea
运行结果及报错内容
Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2022-09-29 17:17:07.178 ERROR 9716 --- [ restartedMain] o.s.b.d.LoggingFailureAnalysisReporter :
***************************
APPLICATION FAILED TO START
***************************
Description:
A component required a bean of type 'com.example.onedemo.mapper.UserMapper' that could not be found.
Action:
Consider defining a bean of type 'com.example.onedemo.mapper.UserMapper' in your configuration.
Process finished with exit code 0