I am writing an oracle package using Oracle sql developer, I got this compile error:
Error(7,1): PLS-00103: Encountered the symbol \"CREATE\" .
<
I had the same problem. I create package using main menu od the left and put package declaration and body inside same .sql file. Problem get solved when I copy all code and paste it into new worksheet and put "/" after end package_name (both after package declaration and body) and then execute worksheet as script.