ahmedshareef
6 years agoVisitor
Kindly resolve java.lang.ClassCastException for XBeansXPath issue.
Hi Team,
I am facing issue with below exception.
xmlHolder.getNodeValue("//*:someID")
As part of the script of MockOperation I am using expression like //*:someID , becuase of this I am getting below exception. If I don't use this expression the exception is not generating.
java.lang.ClassCastException: org.apache.xmlbeans.impl.xpath.saxon.XBeansXPath cannot be cast to org.apache.xmlbeans.impl.store.SaxonXBeansDelegate$SelectPathInterface
I tried by removing org.apache.poi: poi-ooxml:4.1.0 and org.reflections:reflections:0.9.11
But the issue not resolved.
Please help.