Oracle Solution for Error ora-29525

Solution for Oracle Error ORA-29525

ORA-29525: referenced name is too long: 'string'

What triggered the Error:

attempt was made to create a class that references a name longer than 4000 characters. The class could not be created because the name is too long.

What should we do to fix it:

just the definition.