Oracle Message ORA-23346 - primary key or object ID is undefined for table or materialized view string

ERRORprimary key or object ID is undefined for table or materialized view string
CAUSETrying to generate replication support for a table or materialized view without a primary key (as defined by a constraint or dbms_repcat.set_columns) or an object ID.
ACTIONFor a table, add a primary key constraint or define a primary key using dbms_repcat.set_columns or use object tables. For a ROWID materialized view, set min_communication to false or use primary key or object ID materialized views.