Oracle Solution for Error ora-01045

Solution for Oracle Error ORA-01045

ORA-01045: user string lacks CREATE SESSION privilege; logon denied

What triggered the Error:

A connect was attempted to a userid which does not have create session privilege.

What should we do to fix it:

Grant the user CREATE SESSION privilege.