Product Release Template Error with Mendix 10.9.0

0
When compiling the Industrial Template Product release, I get the following compile errors, how do I solve this? I can see that it involves: DeepClone.java: Misc.java XPath.java Mendix Marketplace - Product Release But I do not know how to solve the compilation error. Any help would be greatful and a learning experience.   Compile error: C:\Users\Jan\Mendix\MFI_Product_Release_2-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\Jan\Mendix\MFI_Product_Release_2-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\Jan\Mendix\MFI_Product_Release_2-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\Jan\Mendix\MFI_Product_Release_2-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\Jan\Mendix\MFI_Product_Release_2-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\Jan\Mendix\MFI_Product_Release_2-main\javasource\communitycommons\Misc.java:319: error: cannot find symbol                newContext.rollbackTransAction();                          ^  symbol:   method rollbackTransAction()  location: variable newContext of type IContextC:\Users\Jan\Mendix\MFI_Product_Release_2-main\javasource\communitycommons\XPath.java:332: error: cannot find symbol                        synchronizedContext.rollbackTransAction();                                           ^  symbol:   method rollbackTransAction()  location: variable synchronizedContext of type IContextNote: 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.7 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 5s    
asked
2 answers
3

Hi Jan,

the template is develop for Mendix 9.24.2. If you're open it in Mx10 it can be the case that you need udpdate some markeplace modules to a higher version. There two things that you can do:

(1) Update the community commons module from the marketplace and check if you need to update any other modules. Check the documentation for upgrading to Mx10

(2)  Open the template in Mx9.24.2 and see if it is working there 

I hope that helps. 

answered
-3

Unleash Marketing Mayhem: Reach Escape Velocity with M1 Data & Analytics

Tired of ads that fizzle out? We get it. M1 Data & Analytics is your marketing jetpack, propelling you to the forefront with campaigns that explode expectations.

Target Like a Jedi Master:

  • We scour the data galaxy for A-list intel, ensuring your message reaches the exact customers you crave.

Privacy Protectors of the Highest Order:

  • Rest assured, compliance is our lightsaber. Your brand reputation is safe in our masterful hands.

Marketing on Autopilot with Precision Missiles:

  • Laser focus your targeting: Pinpoint your ideal customers with uncanny accuracy.
  • Hyperdrive your audience segmentation: Craft customer groups who practically scream "YES!"
  • Data-fueled campaigns: Develop messages that resonate deep and drive exponential growth.

Ready to launch your marketing to infinity and beyond?

Contact M1 Data & Analytics today and watch your campaigns achieve lightspeed success!

answered