Oracle Error ORA-39212: installation error: XSL stylesheets not loaded correctly

Oracle Error Message

ORA-39212: installation error: XSL stylesheets not loaded correctly

Reason for the Error

The XSL stylesheets used by the Data Pump Metadata API were not loaded correctly into the Oracle dictionary table “sys.metastylesheet.” Either the stylesheets were not loaded at all, or they were not converted to the database character set.

Solution

Connect AS SYSDBA and execute dbms_metadata_util.load_stylesheets to reload the stylesheets.