Troubleshooting Thursdays : ZCUserDetail userDetails = ZCUser.getInstance().getCurrentUser() is showing compile time error

Troubleshooting Thursdays : ZCUserDetail userDetails = ZCUser.getInstance().getCurrentUser() is showing compile time error

This issue occurs when the required Java packages have not been added in the application. Please import the classes mentioned below to fix this issue.
  1.   import com.zc.component.ZCUserDetail;

  2. import com.zc.component.users.ZCUser;