Oracle Error ORA-01181: file string created before last known RESETLOGS, cannot recreate

Oracle Error Message

ORA-01181: file string created before last known RESETLOGS, cannot recreate

Reason for the Error

Attempted to use ALTER DATABASE CREATE DATAFILE to recreate a datafile that existed before the last known RESETLOGS.

Solution

Find a backup of the file, and recover it. Do incomplete recovery to time before file was originally created.