Oracle Error Message
ORA-02342: replacement type has compilation errors
Reason for the Error
The use of the ALTER…REPLACE statement on a valid type caused a compilation error.
Solution
Use the ALTER…REPLACE statement to replace the type with a valid type which does not cause compilation errors.