1、springboot 项目启动报错
Description:Field bkCustomApiLogMapper in com.bak.service.log.BKCustomApiLogService required a bean of type 'com.bak.dao.BKCustomApiLogMapper' 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.bak.dao.BKCustomApiLogMapper' in your configuration.
2、解决办法:
将 @MapperScan 扫描改成正确的值