Oracle Error ORA-02306: cannot create a type that already has valid dependent(s)

Oracle Error Message

ORA-02306: cannot create a type that already has valid dependent(s)

Reason for the Error

An attempt was made to create a type that already has some valid dependent(s) (these dependents depend on the fact that the type does not exist).

Solution

Drop the dependents first before creating the type, or do not create the type.