SpringBoot+MyBatis org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.yuntu.leave_records.mapper.LeaverecordsMapper.getBySelect
首先要将Mapper.xml文件放入Resources文件夹下
找到yml配置文件将
检查service 和 controller 扫描基准包 @Autowired注解
SpringBoot+MyBatis org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.yuntu.leave_records.mapper.LeaverecordsMapper.getBySelect
首先要将Mapper.xml文件放入Resources文件夹下
找到yml配置文件将
检查service 和 controller 扫描基准包 @Autowired注解