java.lang.ClassNotFoundException:<name_of_Class>


Cause: This error is caused when you try to Update/Compile an already saved Custom Function code without removing the package declaration at the top.



Solution:

Remove the first package declaration line from the code to eliminate this error.