cancel
Showing results for 
Search instead for 
Did you mean: 

Kindly resolve java.lang.ClassCastException for XBeansXPath issue.

Visitor

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.

New Here?
Join us and watch the welcome video:
Watch the new Interview
Top Kudoed Authors