Oracle Message PLS-00607 - SQLJ Object Types can have only SQLJ Types as its supertype or subtype

ERRORSQLJ Object Types can have only SQLJ Types as its supertype or subtype
CAUSEYou were trying to create a SQLJ Object Type under a non-SQLJ Object Type.
ACTIONRecreate the type as a SQLJ Object Type.