Add "App:uses('ClassRegistry', 'Utility');" to Lib/Job/CakeJob.php