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 ORA-24328: illegal attribute value Reason for the Error The attribute value passed in is illegal. Solution Consult...
Oracle Error Message ORA-01346: LogMiner processed redo beyond specified reset log scn Reason for the Error LogMiner has detected a...
Oracle Error Message ORA-13241: specified dimensionality does not match that of the data Reason for the Error An error occurred...