added error checking in case enttites scanned reference other classes not found by the class loader