mybatis开发时候遇到Invalid bound statement (not found): com.example.iss.release.mapper.InfoConfigMapper.selectByPage
原因:xml文件从resource移到了与mapper同级目录,导致无法扫到InfoConfigMapper.xml文件
解决方法:yml文件中配置mapper-locations
mybatis-plus: configuration: log-impl: org.apache.ibatis.logging.stdout.StdOutImpl mapper-locations: com/example/iss/release/mapper/*.xml