[Solved] XML file configuration database connection information logical symbol error

Reason: illegal escape characters. XML characters must be replaced with corresponding entities.

- &lt;    <(Less than)
-&gt; > (greater than)
-&amp; & (and)
-&apos; '(single quote)
-&quot; "(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&amp;ampuseSSL=false&amp;serverTimezone=UTC&amp;rewriteBatchedStatements=true</property>
        <property name="User">root</property>
        <property name="Password">789756long</property>

Read More: