Oracle Solution for Error ora-23515

Solution for Oracle Error ORA-23515

ORA-23515: materialized views and/or their indices exist in the tablespace

What triggered the Error:

attempt was made to drop a tablespace which contains materialized views and/or their indices.

What should we do to fix it:

op the materialized views in this tablespace. Also, find indices belonging to materialized views in this tablespace and drop then. Then try dropping the tablespace.