一、报错内容
java.lang.IllegalArgumentException:
XML fragments parsed from previous mappers does not contain value
for com.xxx.mapper.ProjectMapper.Base_Column_List
报错的全文
java.lang.IllegalArgumentException: XML fragments parsed from previous mappers does not contain value for com.xxx.mapper.ProjectMapper.Base_Column_List
at com.baomidou.mybatisplus.core.MybatisConfiguration$StrictMap.get(MybatisConfiguration.java:445)
at org.apache.ibatis.builder.xml.XMLIncludeTransformer.findSqlFragmen
本文介绍了MyBatis-Plus在使用时遇到的XML fragments报错问题,详细分析了报错原因——由于refid引用错误导致。报错信息指出Base_Column_List未找到,实际应为projectEntitySql。解决方法是修正refid值,确保与上下文匹配。
订阅专栏 解锁全文
6852

被折叠的 条评论
为什么被折叠?



