SAML is not working

I have upgraded my saml module in the application and since then I am getting the below error  java.lang.ClassCastException: class org.opensaml.xml.signature.impl.CryptoBinaryBuilder cannot be cast to class org.opensaml.core.xml.XMLObjectBuilder (org.opensaml.xml.signature.impl.CryptoBinaryBuilder and org.opensaml.core.xml.XMLObjectBuilder are in unnamed module of loader    In the console it show  Unable to add RequestHandler to path 'SSO/':    I have tried deleting duplicate jar files but still didn’t helped
1 answers

Hi Aryan,

This issue often occurs when there is a mismatch between different versions of libraries being used in your application. 

  1. After upgrading the SAML module, try cleaning and rebuilding your Mendix application to ensure that the new changes are correctly integrated.

  2. Review the documentation of the SAML module you upgraded to. It might provide specific instructions or requirements for the upgrade process.

  3. Since you mentioned deleting duplicate JAR files, it's important to ensure that you have the correct and compatible versions of the SAML library JAR files. Remove any conflicting or unnecessary JAR files that might be causing conflicts.