首页 > 其他分享 >0016 常见错误com.example.adminspringboot.mapper.UserMapper.update

0016 常见错误com.example.adminspringboot.mapper.UserMapper.update

时间:2022-12-30 10:22:55浏览次数:39  
标签:xml 0016 adminspringboot mapper UserMapper mybatis

错误截图

 

 在使用mybatis中容易出现

解决方法:

在配置文件中加上路径

书写:

mybatis:
  mapper-locations: classpath:mapper/*.xml #扫描所有mapper下的xml文件

 

标签:xml,0016,adminspringboot,mapper,UserMapper,mybatis
From: https://www.cnblogs.com/Zhangzhiq/p/17014212.html

相关文章