Compilation of Java actions failed

Hello,   I have been having this problem, I haven't really tried anything. Anyone knows what to do?   C:\Users\z004m4dw\Mendix\Checklist cliente-main_2\javasource\saml20\implementation\ error: cannot find symbol                        samlContext.getIContext().rollbackTransAction();                                                 ^  symbol:   method rollbackTransAction()  location: interface 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.1 error 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 BUILD FAILED in 8s
2 answers

It seems there is something wrong with the compilation of java files in the Saml module. I would first try updating the module, does that help?


Otherwise the error suggests that you might see the compiler error output for more details. What does that say?


Hello Alejandra,


Some suggestions for you:

  • Update Studio Pro to the latest MTS version 10.6.3 (in you case will be easy since you are at 10.6.1)
  • Update Community Commons to the latest version
  • Update SAML to the latest version
  • [Optional](In my case, I don't  remember, but I've also update Encryption and MxModelReflection)

Use this excellent tool to clean up your userlib folder from the old JARs


Good luck!