Runtime error on implementing SAML module on Mendix 7.23.26

Hi all,   We are implementing SSO functionality on our Mendix applications through AzureAD. For the same i downloaded SAML V1.16.5 (as compalitle for Mendix 7) from app store. Once i put the SAML startup in the After startup microflow of the project i am getting errors for which my app is failing to start. I am pretty much sure this is because of the conflicts on the jar files as SAML comes with its own set of jars which is already present because of other appstore module present.   I tried removing some of the jars from userlib after going through answers on Mendix forum. But still the issue persists. Current error is :      java.lang.NoSuchMethodError: org.apache.commons.codec.digest.DigestUtils.sha1Hex([B)Ljava/lang/String;     at     at     at     at     at saml20.implementation.SAMLRequestHandler.initServlet(     at saml20.implementation.SAMLRequestHandler.<init>(   Please give me insights on how to solve the conflicts. Also if we are deleting the duplicate jars do we need to delete the higher or lower version?   Thanks in advance, Dhrubo Ghosh  
1 answers

Hi Dhrubo,


usually when a “java.lang.NoSuchMethodError” occurs it had to do with the libraries in your application.

There are either libraries with different version in the project directory “<your project main dir>\userlib”, you can delete the lowest versions of the libraries.

Or there are different libraries calling the same function, with one of them missing the method being called, which you will have to analyse.


This question has been answered previously in multiple questions: