Oracle Solution for Error ora-31095

Solution for Oracle Error ORA-31095

ORA-31095: cannot generate string : "string

.string

" already exists

What triggered the Error:

The type/table name specified in the XML schema document cannot be generated because it is already being used.

What should we do to fix it:

Use different names for types/tables or use the NOGEN mode so that schema compiler does not generate new types/tables.