Compilation of Java action failed

0
Hi,eveyone, when i migrated my app from 8.18.13 to 10.0,  i had to commit it to git firstly,then this issue happend, who knows how to solve this problem? please tell me the details, thanks very much! D:\UserData\z004uzez\Documents\Mendix\RD_Lab_Devices_Management-main_2\javasource\communitycommons\actions\DeepClone.java:73: error: cannot assign a value to final variable membersToSkip         this.membersToSkip       = this.membersToSkip == null       ? "" : this.membersToSkip;             ^ D:\UserData\z004uzez\Documents\Mendix\RD_Lab_Devices_Management-main_2\javasource\communitycommons\actions\DeepClone.java:74: error: cannot assign a value to final variable membersToKeep         this.membersToKeep       = this.membersToKeep == null       ? "" : this.membersToKeep;             ^ D:\UserData\z004uzez\Documents\Mendix\RD_Lab_Devices_Management-main_2\javasource\communitycommons\actions\DeepClone.java:75: error: cannot assign a value to final variable reverseAssociations         this.reverseAssociations = this.reverseAssociations == null ? "" : this.reverseAssociations;             ^ D:\UserData\z004uzez\Documents\Mendix\RD_Lab_Devices_Management-main_2\javasource\communitycommons\actions\DeepClone.java:76: error: cannot assign a value to final variable excludeEntities         this.excludeEntities     = this.excludeEntities == null     ? "" : this.excludeEntities;             ^ D:\UserData\z004uzez\Documents\Mendix\RD_Lab_Devices_Management-main_2\javasource\communitycommons\actions\DeepClone.java:77: error: cannot assign a value to final variable excludeModules         this.excludeModules      = this.excludeModules == null      ? "" : this.excludeModules;             ^ D:\UserData\z004uzez\Documents\Mendix\RD_Lab_Devices_Management-main_2\javasource\communitycommons\Misc.java:319: error: cannot find symbol                 newContext.rollbackTransAction();                           ^   symbol:   method rollbackTransAction()   location: variable newContext of type IContext D:\UserData\z004uzez\Documents\Mendix\RD_Lab_Devices_Management-main_2\javasource\communitycommons\XPath.java:332: error: cannot find symbol                         synchronizedContext.rollbackTransAction();                                            ^   symbol:   method rollbackTransAction()   location: variable synchronizedContext of type IContext D:\UserData\z004uzez\Documents\Mendix\RD_Lab_Devices_Management-main_2\javasource\saml20\implementation\ArtifactHandler.java:184: error: cannot find symbol                         samlContext.getIContext().rollbackTransAction();                                                  ^   symbol:   method rollbackTransAction()   location: interface IContext D:\UserData\z004uzez\Documents\Mendix\RD_Lab_Devices_Management-main_2\javasource\xlsreport\actions\GenerateExcelDoc.java:148: error: cannot assign a value to final variable OutputDocument                 OutputDocument = new FileDocument(getContext());                 ^ D:\UserData\z004uzez\Documents\Mendix\RD_Lab_Devices_Management-main_2\javasource\ziphandling\actions\ZipDocuments.java:88: error: cannot assign a value to final variable __ZipFile         __ZipFile = Core.instantiate(getContext(), "System.FileDocument");         ^ Note: 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. 10 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 3s
asked
3 answers
1

You need to update the Marketplace modules in your app to the latest versions of

  • Community Commons
  • SAML
  • Zip Handling
  • Excel Exporter

Remember to clean your userlib after the upgrades, removing older versions of any duplicate .jar files that the older modules may have used.

Good luck!


 

answered
0

the new problems:

answered
0

The microflows does not exist ,how to solve these  problems :

answered