Mendix10 Java Compilation Error

1
Hey guys, recently upgraded my app to Mendix 10. Now, if I want to start my app, it runs into the following error:   \javasource\communitycommons\actions\DeepClone.java:73: error: cannot assign a value to final variable membersToSkip         this.membersToSkip       = this.membersToSkip == null       ? "" : this.membersToSkip;             ^ \javasource\communitycommons\actions\DeepClone.java:74: error: cannot assign a value to final variable membersToKeep         this.membersToKeep       = this.membersToKeep == null       ? "" : this.membersToKeep;             ^ \javasource\communitycommons\actions\DeepClone.java:75: error: cannot assign a value to final variable reverseAssociations         this.reverseAssociations = this.reverseAssociations == null ? "" : this.reverseAssociations;             ^ \javasource\communitycommons\actions\DeepClone.java:76: error: cannot assign a value to final variable excludeEntities         this.excludeEntities     = this.excludeEntities == null     ? "" : this.excludeEntities;             ^ \javasource\communitycommons\actions\DeepClone.java:77: error: cannot assign a value to final variable excludeModules         this.excludeModules      = this.excludeModules == null      ? "" : this.excludeModules;             ^ \javasource\communitycommons\Misc.java:319: error: cannot find symbol                 newContext.rollbackTransAction();                           ^   symbol:   method rollbackTransAction()   location: variable newContext of type IContext \javasource\communitycommons\XPath.java:332: error: cannot find symbol                         synchronizedContext.rollbackTransAction();                                            ^   symbol:   method rollbackTransAction()   location: variable synchronizedContext of type IContext \javasource\databasereplication\actions\ImportActivitySet.java:50: error: cannot find symbol             context.rollbackTransAction();                    ^   symbol:   method rollbackTransAction()   location: variable context of type IContext \javasource\databasereplication\implementation\DatabaseDataManager.java:161: error: cannot find symbol                         this.settings.getContext().rollbackTransAction();                                                   ^   symbol:   method rollbackTransAction()   location: interface IContext \javasource\saml20\implementation\ArtifactHandler.java:187: error: cannot find symbol                         samlContext.getIContext().rollbackTransAction();                                                  ^   symbol:   method rollbackTransAction()   location: interface IContext 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 8s     anybody experienced that or could help me?   thanks and best regards, Lena
asked
3 answers
3

Have you installed the latest version of the Community Commons module? If you haven’t, it may be worth updating to the latest as it should work with Mendix 10.

 

Good luck!

answered
1

Seen similar posts mentioning updating the MendixSSO module and that fixed the issue.

answered
1

Thanks guys, it worked!

answered