The reference to entity "characterEncoding" mus...

数据源配置时加上编码转换格式后出问题了:

The reference to entity “characterEncoding” must end with the ';' delimiter

这个错误就是 context.xml中设置数据源链接URL的问题

<param-name>url</param-name>

<param-value>jdbc:mysql://localhost:3306/bookstore?useUnicode=true&characterEncoding=UTF-8</param-value>

正确的如下:

<param-name>url</param-name>

<param-value>jdbc:mysql://localhost:3306/bookstore?useUnicode=true&characterEncoding=UTF-8</param-value>

你可能感兴趣的:(The reference to entity "characterEncoding" mus...)