Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. 2023-12-03 15:28:26.711 ERROR 29508 --- [ main] o.s.b.d.LoggingFailureAnalysisReporter : *************************** APPLICATION FAILED TO START *************************** Description: Field laneStatusListUpdateMapper in com.example.config.service.LaneStatusListUpdateServiceImpl required a bean of type 'com.example.config.mapper.LaneStatusListUpdateMapper' 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.example.config.mapper.LaneStatusListUpdateMapper' in your configuration. Process finished with exit code 1
在application.propertion中
mybatis-plus.mapper-locations=classpath*:com/example/config/mapper/xml/**Mapper.xml
这里的配置直接改为全路径