xml文件中配置JDBC源遇到问题 : The reference to entity "characterEncoding" must end with the ';' delimiter

xiaoxiao2021-02-28  46

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

转载请注明原文地址: https://www.6miu.com/read-2625663.html

最新回复(0)