"error: can not execute. because can not find cache of TableInfo for entity!"
mybatis-plus框架TABLE_INFO_CACHE获取不到对应的TableInfo对象
https://blog.csdn.net/weixin_45525272/article/details/123694959
注意在yml配置中增加相关配置
# MyBatis-plus配置
mybatis-plus:
# 搜索指定包别名
typeAliasesPackage: com.ruoyi.**.domain
# 配置mapper的扫描,找到所有的mapper.xml映射文件
mapperLocations: classpath*:mapper/**/*Mapper.xml
# 加载全局的配置文件
configLocation: classpath:mybatis-plus/mybatis-plus-config.xml
<?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE configuration PUBLIC "-//mybatis.org//DTD Config 3.0//EN" "http://mybatis.org/dtd/mybatis-3-config.dtd"> <configuration> <settings> <!--mapUnderscoreToCamelCase=true--> <setting name="mapUnderscoreToCamelCase" value="true"/> </settings> <!--<plugins>--> <!--<plugin interceptor="com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor"></plugin>--> <!--</plugins>--> </configuration>
ruoyi-cloud集成mybatis-plus报错Unknown column ‘search_value‘ in ‘field list‘
解决方案:
com.ruoyi.common.core.domain.BaseEntity类中对相应字段增加注解@TableField(exist = false)
https://blog.csdn.net/weixin_45395031/article/details/120583286
整合mybatis-plus报错java.lang.NoSuchMethodError: org.apache.ibatis.session.Configuration
https://blog.csdn.net/alizhaoc/article/details/121807471
通过resolved查看jar版本依赖
ruoyi使用pagehelper,里面使用了mybatis,注意对应的版本要一致。
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· Manus重磅发布:全球首款通用AI代理技术深度解析与实战指南
· 被坑几百块钱后,我竟然真的恢复了删除的微信聊天记录!
· 没有Manus邀请码?试试免邀请码的MGX或者开源的OpenManus吧
· 园子的第一款AI主题卫衣上架——"HELLO! HOW CAN I ASSIST YOU TODAY
· 【自荐】一款简洁、开源的在线白板工具 Drawnix
2020-08-11 我是如何在SQLServer中处理每天四亿三千万记录的(转)
2020-08-11 linux系统内核版本升级(转)
2015-08-11 How to create VO s and VLs dynamically in OAF