Fifangdbmetaxml Fix -

<datasource name="production"> <driver>com.mysql.cj.jdbc.Driver</driver> <url>jdbc:mysql://192.168.1.100:3306/erp?useSSL=false&serverTimezone=UTC</url> <username>dbuser</username> <password>encABC123def==</password> <!-- Re-encrypt if needed --> </datasource> Note the & instead of & — this is mandatory in XML. The application user (e.g., tomcat , fifang , www-data ) must have read access. On Linux:

xmlstarlet sel -t -c "/fifangdbmeta/datasources" fifangdbmetaxml > datasource_fragment.xml Then rebuild a minimal valid file using the skeleton from the vendor’s documentation. This is often a namespace issue. Check for xmlns="http://..." . Your XPath query must include the namespace. Fix by adding the namespace to the root or stripping it temporarily: fifangdbmetaxml fix

<?xml version="1.0" encoding="UTF-8"?> Many systems require a specific DTD or XSD at the top of fifangdbmetaxml . Example header: &lt;datasource name="production"&gt; &lt;driver&gt;com