四氯化铅 2022-08-22 10:39 采纳率: 100%
浏览 1319
已结题

can not execute. because can not find cache of TableInfo for entity!

使用mybatis-plus,在Controller层使用saveOrUpdateBatch 方法时,出现 【 com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: error: can not execute. because can not find cache of TableInfo for entity! 】报错
com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: error: can not execute. because can not find cache of TableInfo for entity!
在实体类上加了 @TableName、@TableId 注解
  • 写回答

1条回答 默认 最新

  • CSDN-Ada助手 CSDN-AI 官方账号 2022-08-23 06:02
    关注
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

问题事件

  • 系统已结题 2月15日
  • 已采纳回答 2月7日
  • 创建了问题 8月22日