Mybatis 异常: The content of elements must consist of well-formed character data or markup

Posted 星星满天

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Mybatis 异常: The content of elements must consist of well-formed character data or markup相关的知识,希望对你有一定的参考价值。

原因很简单:在ibatis的配置文件中不能出现小于号(>)

    <delete id="deleteByPrimaryKey" parameterType="java.lang.String">
        delete from
        t_match
        where CREATE_TIME<=#{createTime,jdbcType=BIGINT} (修改为大于号)

  where #{createTime,jdbcType=BIGINT} >= CREATE_TIME
    </delete>

以上是关于Mybatis 异常: The content of elements must consist of well-formed character data or markup的主要内容,如果未能解决你的问题,请参考以下文章

mybatis配置文件,注意标签配置顺序。否则报错The content of element type "configuration" must match "(pro

php Duplicando o filtro the_content para evitar conflitos com plugins que utilizam o mesmo filtro

Https异常This request has been blocked; the content must be served over HTTPS

ibatiS启动的异常 The content of elements must consist of well-formed character data or markup

mybatis报错:The error may exist in xxxxMapper.xml

mybatis报错:The error may exist in xxxxMapper.xml