错误:The content of elements must consist of well-formed character data or markup.

分析:在MyBatis的映射文件中出现了特殊字符的情况下会出现以上错误。特殊字符有:  < 小于号 ,>大于号等

解决:要用<![CDATA[]]>包裹着。

<![CDATA[
  select * from tb_users where id<=100
]]>

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-07-07
  • 2022-12-23
  • 2022-12-23
  • 2021-08-10
  • 2021-12-02
  • 2021-06-07
猜你喜欢
  • 2021-10-26
  • 2022-12-23
  • 2021-09-25
  • 2022-12-23
  • 2021-12-25
  • 2022-12-23
相关资源
相似解决方案