Oracle Error ORA-25107: duplicate TABLESPACE option specification

Oracle Error Message

ORA-25107: duplicate TABLESPACE option specification

Reason for the Error

the TABLESPACE was specified more than once in an ALTER INDEX REBUILD statement.

Solution

Remove all but one of the TABLESPACE clauses.