mybatis 提示The content of elements must consist of well-formed character data or markup

熊孩纸 阅读:712 2021-03-31 21:45:37 评论:0

今天在mapper 文件夹中添加相关的SQL语句,结果提示:“The content of elements must consist of well-formed character data or markup”


解决办法:

配置的动态SQL语句里面带"<" ">"等符号的用  
<![CDATA[ 
 
]]> 
括起来

标签:MyBatis
声明

1.本站遵循行业规范,任何转载的稿件都会明确标注作者和来源;2.本站的原创文章,请转载时务必注明文章作者和来源,不尊重原创的行为我们将追究责任;3.作者投稿可能会经我们编辑修改或补充。

关注我们

一个IT知识分享的公众号