Oracle Error ORA-04041: package specification must be created first before creating package body

Oracle Error Message

ORA-04041: package specification must be created first before creating package body

Reason for the Error

Attempt to create a package body before creating its package specification.

Solution

Create the package specification first before creating the package body.