Oracle Solution for Error ora-30380

Solution for Oracle Error ORA-30380

ORA-30380: REWRITE_TABLE does not exist

What triggered the Error:

You have used the DBMS_MVIEW.EXPLAIN_REWRITE() API before you have created the REWRITE_TABLE.

What should we do to fix it:

Create it using the admin/utlxrw.sql script after connecting to the desired schema