<jdbcConnection driverClass="com.mysql.jdbc.Driver"
connectionURL="jdbc:mysql://localhost:3306/库名?&useSSL=false&serverTimezone=UTC&allowPublicKeyRetrieval=true"
userId="用户名" password="密码"/>
标注红色为问题出现项,处理方法很简单,在每一个&项后加 amp; 更改后如下
<property name="jdbcUrl">jdbc:mysql://localhost:3306/库名?useUnicode=true&characterEncoding=utf-8&useSSL=false</property>