Java Compilation failed

1
C:\Users\Pallavi\Mendix\Complaint Management-main\javasource\communitycommons\actions\DeepClone.java:73: error: cannot assign a value to final variable membersToSkip        this.membersToSkip       = this.membersToSkip == null       ? "" : this.membersToSkip;            ^C:\Users\Pallavi\Mendix\Complaint Management-main\javasource\communitycommons\actions\DeepClone.java:74: error: cannot assign a value to final variable membersToKeep        this.membersToKeep       = this.membersToKeep == null       ? "" : this.membersToKeep;            ^C:\Users\Pallavi\Mendix\Complaint Management-main\javasource\communitycommons\actions\DeepClone.java:75: error: cannot assign a value to final variable reverseAssociations        this.reverseAssociations = this.reverseAssociations == null ? "" : this.reverseAssociations;            ^C:\Users\Pallavi\Mendix\Complaint Management-main\javasource\communitycommons\actions\DeepClone.java:76: error: cannot assign a value to final variable excludeEntities        this.excludeEntities     = this.excludeEntities == null     ? "" : this.excludeEntities;            ^C:\Users\Pallavi\Mendix\Complaint Management-main\javasource\communitycommons\actions\DeepClone.java:77: error: cannot assign a value to final variable excludeModules        this.excludeModules      = this.excludeModules == null      ? "" : this.excludeModules;            ^C:\Users\Pallavi\Mendix\Complaint Management-main\javasource\communitycommons\Misc.java:319: error: cannot find symbol                newContext.rollbackTransAction();                          ^  symbol:   method rollbackTransAction()  location: variable newContext of type IContextC:\Users\Pallavi\Mendix\Complaint Management-main\javasource\communitycommons\XPath.java:332: error: cannot find symbol                        synchronizedContext.rollbackTransAction();                                           ^  symbol:   method rollbackTransAction()  location: variable synchronizedContext of type IContextC:\Users\Pallavi\Mendix\Complaint Management-main\javasource\tcconnector\actions\DownloadFiles.java:75: error: cannot assign a value to final variable ConfigurationName            ConfigurationName = tcconnector.proxies.microflows.Microflows            ^C:\Users\Pallavi\Mendix\Complaint Management-main\javasource\tcconnector\actions\GetAttachedLOV.java:60: error: cannot assign a value to final variable configurationName            configurationName = tcconnector.proxies.microflows.Microflows            ^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.9 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 8s
asked
1 answers
2

Upgrading community commons module will most likely fix this issue.

 

The errors are complaining about changing a value of a java parameter which you're not allowed to change (final). This is something that has been introduced with Mendix 10, but should be solved by using a module that is compatible with Mendix 10.

answered