Error while running the Application

0
Hi All,   I am getting error while running my application and unable to view my app. FYI: Ihave cleared my userlib folder for duplicates.   I am adding the error message below:   XXXYYYZZZ\javasource\communitycommons\actions\DecryptString.java:38: error: cannot find symbol        return StringUtils.decryptString(key, valueToDecrypt); XXXYYYZZZ\javasource\communitycommons\actions\encryptMemberIfChanged.java:54: error: cannot find symbol        return ORM.encryptMemberIfChanged(getContext(), item, attributeName, key);   ....   symbol:   method setEvaluateMultipleUserMatchesMicroflowName(String)  location: class SessionManagerNote: Some input files use or override a deprecated API.Note: Recompile with -Xlint:deprecation for details.Note: Some input files use unchecked or unsafe operations.Note: Recompile with -Xlint:unchecked for details.13 errors FAILURE: Build failed with an exception. * What went wrong:Execution failed for task ':compile'.> Compilation failed; see the compiler error output for details. * Try:> Run with --stacktrace option to get the stack trace.> Run with --debug option to get more log output.> Run with --scan to get full insights. * Get more help at https://help.gradle.org BUILD FAILED in 7s    
asked
2 answers
5

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

 

Mendix Community - Question Details

answered
0

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!

answered