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>

posted @ 2016-06-07 12:53  星星满天  阅读(1637)  评论(0编辑  收藏  举报