0016 常见错误com.example.adminspringboot.mapper.UserMapper.update
错误截图
在使用mybatis中容易出现
解决方法:
在配置文件中加上路径
书写:
mybatis: mapper-locations: classpath:mapper/*.xml #扫描所有mapper下的xml文件
错误截图
在使用mybatis中容易出现
解决方法:
在配置文件中加上路径
书写:
mybatis: mapper-locations: classpath:mapper/*.xml #扫描所有mapper下的xml文件