Oracle Solution for Error ora-22872

Solution for Oracle Error ORA-22872

ORA-22872: OID INDEX clause not allowed on tables with primary key based object identifiers

What triggered the Error:

attempt to create an OID INDEX on a table with primary key based object identifiers.

What should we do to fix it:

move the OID INDEX clause