xml文件中配置JDBC源遇到问题 : The reference to entity “characterEncoding” must end with the ‘;’ delimiter
错误写法:
<property name="jdbcUrl">jdbc:mysql://47.106.153.177:3306/xiaoxuan?useUnicode=true&characterEncoding=utf-8&useSSL=false</property>
正确写法:
<property name="jdbcUrl">jdbc:mysql://47.106.153.177:3306/xiaoxuan?useUnicode=true&characterEncoding=utf-8&useSSL=false</property>
参考:https://blog.csdn.net/sinat_25306771/article/details/53921058