<div dir="ltr"><div>Hi all,</div><div><br></div><div>I came across this exception,<br><i><b><br>java.lang.ClassCastException: org.opensaml.xml.schema.impl.XSAnyBuilder cannot be cast to org.opensaml.core.xml.XMLObjectBuilder<br>        at org.opensaml.core.xml.config.XMLConfigurator.initializeObjectProviders(XMLConfigurator.java:238)<br>        at org.opensaml.core.xml.config.XMLConfigurator.load(XMLConfigurator.java:203)<br>        at org.opensaml.core.xml.config.XMLConfigurator.load(XMLConfigurator.java:188)<br>        at org.opensaml.core.xml.config.XMLConfigurator.load(XMLConfigurator.java:162)<br>        at org.opensaml.core.xml.config.AbstractXMLObjectProviderInitializer.init(AbstractXMLObjectProviderInitializer.java:52)<br>        at org.opensaml.core.xml.config.XMLObjectProviderInitializer.init(XMLObjectProviderInitializer.java:45)<br>        at org.opensaml.core.config.InitializationService.initialize(InitializationService.java:56)<br>        at org.wso2.carbon.identity.sso.saml.util.AssertionBuildingTest.getSPInitAuthReqValidatorWithInvalidClass(AssertionBuildingTest.java:240)</b></i><br></div><div><br></div><div>I have already searched the net for this error and the only thing i came across was that there is a clash between <b>xmtooling and openws </b>at OpenSAML2.x and OpenSAML3.x dependencies. So, what i need to know is whether this is the only cause for the exception mentioned above.</div><div><br></div><div>Any support/answers will be really appreciated</div><div>Thanks,</div><div>Deshan Koswatte<br></div></div>