Forum Discussion

ahmedshareef's avatar
5 years ago

Kindly resolve java.lang.ClassCastException for XBeansXPath issue.

Hi Team,


I am facing issue with below exception.



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$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.

No RepliesBe the first to reply