当前位置: 代码迷 >> 综合 >> mybatis逆向工程配置文件出现The reference to entity characterEncoding must end with the ';' delimiter.
  详细解决方案

mybatis逆向工程配置文件出现The reference to entity characterEncoding must end with the ';' delimiter.

热度:94   发布时间:2023-12-17 04:53:48.0

在使用mybatis的逆向工程时,碰到好多次下面的问题:
The reference to entity “xxxxx” must end with the ‘;’ delimiter.
这里写图片描述

百度了一阵后,找到了问题发生的原因:在xml文件中不认识&符号,所以就会出现上面的错误,所以我们可以将&使用转译符&进行转换。
转换后就没有错误了!
这里写图片描述

  相关解决方案