HomeOracleOracle Error PLS-00304: cannot compile body of ‘string’ without its specification

Oracle Error PLS-00304: cannot compile body of ‘string’ without its specification

Oracle Error Message

PLS-00304: cannot compile body of ‘string’ without its specification

Reason for the Error

The compiled package specification required to compile a package body could not be found. Some possible causes follow: –the package name is misspelled –the package specification was never compiled –the compiled package specification is not accessible The package specification must be compiled before compiling the package body, and the compiler must have access to the compiled specification.

Solution

Check the spelling of the package name. Compile the package specification before compiling the package body. Also, make sure the compiler has access to the compiled specification.

Share:

Leave A Reply

Your email address will not be published. Required fields are marked *

You May Also Like

Oracle Error Message CLSGN-32767: Internal error. Reason for the Error An unexpected error occurred. Solution Examine the message(s) that accompany...
Oracle Error Message CLSGN-00211: OCR batch operation failed. string Reason for the Error Setting a set of Oracle Cluster Registry...
Oracle Error Message CLSGN-00210: failed to get value for OCR key “string”. string Reason for the Error It was not...