Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2023-08-20 14:48:44.180 ERROR 7516 --- [ main] o.s.b.d.LoggingFailureAnalysisReporter :
***************************
APPLICATION FAILED TO START
***************************
Description:
Field userMapper in mybatisplustest.controller.MybatisPlusTestController required a bean of type'mybatisplustest.mapper.UserMapper' 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'mybatisplustest.mapper.UserMapper'in your configuration.