问题描述
报一个org.codehaus.xfire.XFireRuntimeException:Couldnotinvokeservice..Nestedexceptionisorg.codehaus.xfire.fault.XFireFault:Couldnotunmarshalltype:Unabletolocatejaxb.propertiesforpackagecn.sale8.expressCompany.qrt.pojoorg.codehaus.xfire.fault.XFireFault:Couldnotunmarshalltype:Unabletolocatejaxb.propertiesforpackagecn.sale8.expressCompany.qrt.pojoatorg.codehaus.xfire.jaxb2.JaxbType.readObject(JaxbType.java:219)atorg.codehaus.xfire.aegis.AegisBindingProvider.readParameter(AegisBindingProvider.java:169)atorg.codehaus.xfire.service.binding.AbstractBinding.read(AbstractBinding.java:206)atorg.codehaus.xfire.service.binding.WrappedBinding.readMessage(WrappedBinding.java:51)atorg.codehaus.xfire.soap.handler.SoapBodyHandler.invoke(SoapBodyHandler.java:42)atorg.codehaus.xfire.handler.HandlerPipeline.invoke(HandlerPipeline.java:131)atorg.codehaus.xfire.client.Client.onReceive(Client.java:406)atorg.codehaus.xfire.transport.http.HttpChannel.sendViaClient(HttpChannel.java:139)atorg.codehaus.xfire.transport.http.HttpChannel.send(HttpChannel.java:48)atorg.codehaus.xfire.handler.OutMessageSender.invoke(OutMessageSender.java:26)atorg.codehaus.xfire.handler.HandlerPipeline.invoke(HandlerPipeline.java:131)atorg.codehaus.xfire.client.Invocation.invoke(Invocation.java:79)atorg.codehaus.xfire.client.Invocation.invoke(Invocation.java:114)atorg.codehaus.xfire.client.Client.invoke(Client.java:336)atorg.codehaus.xfire.client.XFireProxy.handleRequest(XFireProxy.java:77)atorg.codehaus.xfire.client.XFireProxy.invoke(XFireProxy.java:57)at$Proxy12.getBillTrackHead(UnknownSource)atcn.sale8.expressCompany.qrt.interfaces.QRTorderAbstract.getQrtTrackHeadInfo(QRTorderAbstract.java:69)atcn.sale8.business.express.service.BEExpressOrderService.executeMethod(BEExpressOrderService.java:455)atcn.sale8.business.express.service.BEExpressOrderService.HandleExpressInterface(BEExpressOrderService.java:391)atcn.sale8.business.express.current.RenWu.run(TimerTaskBO.java:38)atjava.util.TimerThread.mainLoop(Timer.java:512)atjava.util.TimerThread.run(Timer.java:462)Causedby:javax.xml.bind.JAXBException:Unabletolocatejaxb.propertiesforpackagecn.sale8.expressCompany.qrt.pojoatjavax.xml.bind.ContextFinder.searchcontextPath(ContextFinder.java:205)atjavax.xml.bind.ContextFinder.find(ContextFinder.java:149)atjavax.xml.bind.JAXBContext.newInstance(JAXBContext.java:281)atjavax.xml.bind.JAXBContext.newInstance(JAXBContext.java:238)atorg.codehaus.xfire.jaxb2.JaxbType.getJAXBContext(JaxbType.java:306)atorg.codehaus.xfire.jaxb2.JaxbType.readObject(JaxbType.java:187)...22more,哪位大侠帮我看一下
解决方案
解决方案二:
在网上看有说是xfix包冲突的原因,但是具体也不知道是什么包冲突,还是其他的什么原因,哪位知道告诉一下,谢谢啦