Reason: illegal escape characters. XML characters must be replaced with corresponding entities.
- < <(Less than)
-> > (greater than)
-& & (and)
-' '(single quote)
-" "(double quotation mark)
Solution:
Follow the shortcut keys prompted by idea to replace
<property name="DriverClass">com.mysql.cj.jdbc.Driver</property>
<property name="JdbcUrl">jdbc:mysql://localhost:3306/test?characterEncoding=utf8&ampuseSSL=false&serverTimezone=UTC&rewriteBatchedStatements=true</property>
<property name="User">root</property>
<property name="Password">789756long</property>