Oracle Solution for Error ora-29522

Solution for Oracle Error ORA-29522

ORA-29522: authorization error for referenced name string.string

What triggered the Error:

attempt was made to resolve a class that is not authorized to use the indicated referenced class.

What should we do to fix it:

just authorizations or name resolution.