Oracle Error ORA-31151: Cyclic definition encountered for string: “string”

Oracle Error Message

ORA-31151: Cyclic definition encountered for string: “string”

Reason for the Error

The schema definition for this type has cycles.

Solution

Remove cyclic definition and re-compile schema.