The reference to entity "characterEncoding" must end with the ';' delimiter.
Posted 沙弥
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了The reference to entity "characterEncoding" must end with the ';' delimiter.相关的知识,希望对你有一定的参考价值。
<property name="url" value="jdbc:mysql://localhost:3306/ceshi?useUnicode=true&characterEncoding=utf8" />
一个正常的MySQL配置却一直报错:
The reference to entity "characterEncoding" must end with the ‘;‘ delimiter.
逐步深究出在xml配置文件中需要替换转译的几个符号:
在xml文件中有以下几类字符要进行转义替换:
需要转译符号 | > | < | ‘ | " | & |
转译对象 | > | < | ' | " | & |
以上是关于The reference to entity "characterEncoding" must end with the ';' delimiter.的主要内容,如果未能解决你的问题,请参考以下文章