Oracle Error PLS-00580: supertype must be an object type

Oracle Error Message

PLS-00580: supertype must be an object type

Reason for the Error

An attempt was made to declare an object type to have a supertype, but the specified supertype was not itself an object type. Object types can inherit only from other object types.

Solution

Remove the supertype specification, or change it to refer to an object type. If the declaration appears correct, make sure the supertype has compiled correctly.