springboot启动报错

springboot启动报错
Description:
Field stationInformationService in com.htkj.aicheck.service.
TrainCheckService required a bean of type 'com.htkj.ai.server.service.IStationInformationService' that could not be found.

Action:
Consider defining a bean of type 'com.htkj.ai.server.service.IStationInformationService' in your configuration.

 

在项目的Application启动文件里,使用@MapperScan注解,把当前的路径引用进去就可以了

posted @ 2022-09-02 16:27  northli  阅读(29)  评论(0编辑  收藏  举报