1, error screenshots
2, modify operation
I was connected to the database of the frame, if in the class & amp; & replaced
Modify the code before
<property value="com.mysql.jdbc.Driver" name="driverClass"/>
<property value="jdbc:mysql://127.0.0.1:3306/new1?useUnicode=true&characterEncoding=utf-8" name="jdbcUrl"/>
Modified the code
<property name="driverClass" value="com.mysql.cj.jdbc.Driver"></property>
<property name="jdbcUrl"
value="jdbc:mysql://127.0.0.1:3306/new1?useUnicode=true&characterEncoding=utf-8&useSSL = false&serverTimezone = GMT"></property>
3, the effect