Hello Nitesh,
looks like Communitycommons in the javasource folder has been duplicated with a different package name.
Delete the duplicate communitycommons folder with outdated packages and replace it with the updated version from the Team Server.
Use the EncryptString and DecryptString actions from the Encryption module in the Marketplace.
Mendix Community - Question Details
Mendix Community - Question Details
This looks like you have an old version of the Community Commons module. Those methods were removed in version 9.
I would suggest deleting the \javasource\communitycommons folder and then reinstalling Community Commons from the Marketplace. This should ensure any old deprecated files are removed and replaced with up-to-date versions.
I hope this helps. Good luck!