Oracle Error RMAN-05014: Tablespaces with undo segments were not found in recovery catalog

Oracle Error Message

RMAN-05014: Tablespaces with undo segments were not found in recovery catalog

Reason for the Error

The recovery catalog did not have information about tablespaces with undo segments.

Solution

Manually specify the tablespaces with undo segments in the optional UNDO tablespaces clause of the RECOVER command.