Oracle Error Message
PLS-00607: SQLJ Object Types can have only SQLJ Types as its supertype or subtype
Reason for the Error
You were trying to create a SQLJ Object Type under a non-SQLJ Object Type.
Solution
Recreate the type as a SQLJ Object Type.