Oracle Solution for Error ora-32302

Solution for Oracle Error ORA-32302

ORA-32302: object materialized views must be object ID based

What triggered the Error:

An attempt was made to create an object materialized view that is not object ID based.

What should we do to fix it:

Create the materialized view using the OF clause but omit any ROWID or PRIMARY KEY clauses.