Oracle Error ORA-01561: failed to remove all objects in the tablespace specified

Oracle Error Message

ORA-01561: failed to remove all objects in the tablespace specified

Reason for the Error

Failed to remove all objects when dropping a tablespace

Solution

Retry the drop tablespace until all objects are dropped