Oracle Solution for Error ora-22871

Solution for Oracle Error ORA-22871

ORA-22871: ALTER TYPE with REPLACE is not allowed for pure incomplete types

What triggered the Error:

attempt to perform ALTER TYPE with REPLACE option for a pure incomplete type

What should we do to fix it:

mpletely define the original type, before using the ALTER TYPE with REPLACE option.