Oracle Solution for Error ora-32301

Solution for Oracle Error ORA-32301

ORA-32301: object-relational materialized views must be primary key based

What triggered the Error:

An attempt was made to create an object-relational materialized view that is not primary key based.

What should we do to fix it:

Create the materialized view with the PRIMARY KEY keyword.