mybatis-plus报错org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.package.service.AdChannelService.getBaseMapper 我的原因是使用@MapperScan("com.liron")指向的目录不是mapper层而是上一层目录,修改为@MapperScan("com.liron.mapper")问题便解决了。