i gt a prob.
i gt a ClassCastExcept ion when this statement is executed :
JAXBElement poe = (JAXBElement) u.unmarshal(new FileInputStream ("/home/prasad/Design/XMLFile.xml"));
error:
Exception in thread "main" java.lang.Class CastException: com.rcfi.qxlink .xmlp.schema.FI Xadaptor2 cannot be cast to javax.xml.bind. JAXBElement.
Can any1 post a solution for this.
Is thr any othr way to gt the JAXBElement?
Thanks in advance.
i gt a ClassCastExcept ion when this statement is executed :
JAXBElement poe = (JAXBElement) u.unmarshal(new FileInputStream ("/home/prasad/Design/XMLFile.xml"));
error:
Exception in thread "main" java.lang.Class CastException: com.rcfi.qxlink .xmlp.schema.FI Xadaptor2 cannot be cast to javax.xml.bind. JAXBElement.
Can any1 post a solution for this.
Is thr any othr way to gt the JAXBElement?
Thanks in advance.
Comment