Fixed issue with classNotFoundException not calling its parent constructor with correct parameters