Unmarshalling Error: unexpected element 错误的解决
来源:互联网 发布:荣耀盒子 装软件 编辑:程序博客网 时间:2024/05/19 07:08
[javax.xml.bind.UnmarshalException: unexpected element (uri:"", local:"finOver"). Expected elements are <{}deptName>,<{}lastChangTime>,<{}cityId>,<{}remark>,<{}registerFund>,<{}modifyDate>,<{}channelSource>,<{}custNature>,<{}isRedeempoints>,<{}companyProperty>,<{}city>,<{}custPotentialType>,<{}billTitle>,<{}shuttleAddressList>,<{}recommendCust>,<{}province>,<{}bussType>,<{}simpleName>,<{}upgradeSource>,<{}lastYearProfit>,<{}focusDeptId>,<{}isSpecial>,<{}isImportCustor>,<{}isParentCompany>,<{}mainContact>,<{}createUser>,<{}parentCompanyId>,<{}contactId>,<{}custNumber>,<{}custName>,<{}custStatus>,<{}deptId>,<{}versionNumber>,<{}lastYearIncome>,<{}isAcceptMarket>,<{}provinceId>,<{}tradeId>,<{}preferenceService>,<{}nextLevel>,<{}focusDeptName>,<{}responsibillity>,<{}parentNumber>,<{}areaId>,<{}id>,<{}becomeMemTime>,<{}createDate>,<{}isTranGoods>,<{}surplusMonthlyStatementMoney>,<{}custType>,<{}custId>,<{}accountList>,<{}registAddress>,<{}contactList>,<{}logs>,<{}jshAddress>,<{}companyScop>,<{}degree>,<{}procRedit>,<{}modifyUser>,<{}isFocusPay>,<{}taxregNumber>,<{}channel>,<{}brandWorth>]
at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.handleStreamException(UnmarshallerImpl.java:425)
at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:362)
at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:339)
at org.apache.cxf.jaxb.JAXBEncoderDecoder.unmarshall(JAXBEncoderDecoder.java:764)
... 121 more
在调用接口的时候遇到了这个问题,[javax.xml.bind.UnmarshalException就是转换xml文件和java对象的时候报错。最后确定下来的原因是我所调用的接口返回参数已经修改,而本地没有更新。
解决方法是重新生成客户端代码。
- Unmarshalling Error: unexpected element 错误的解决
- Unmarshalling Error: unexpected element 错误的解决
- Unmarshalling Error: unexpected element 错误的解决
- Unmarshalling Error: unexpected element
- 使用NodeJS的SOAP包时报"Unmarshalling Error: unexpected element错的问题
- shihangbo-delphi7调用java-cxf-webservices出错 'Unmarshalling Error: unexpected element
- Webservice调用服务端 Unmarshalling Error: unexpected element (Xxx). Expected elements are Xxx
- webserver报XFireFault: Unmarshalling Error: unexpected element (uri:"http://server.iflytek.com/", loc
- Unmarshalling Error: 意外的元素的问题的解决
- 解决执行脚本报syntax error: unexpected end of file或syntax error near unexpected token `fi'错误的问题
- unmarshalling error
- PHP 中 syntax error, unexpected $end 错误的一种原因及解决
- PHP syntax error, unexpected $end 错误的一种原因及解决
- linux下解决bash: syntax error near unexpected token `(' 的错误
- JAXB 的 UnmarshalException unexpected element 错误原因与解决方法
- 解决shell错误:syntax error: unexpected end of file
- scripts/config/mconf: Syntax error: “(” unexpected错误解决
- org.apache.cxf.interceptor.Fault: Unmarshalling Error错误解决方案
- eclipse的 windows下没有android SDK and AVD Manager选项
- SubClassWindow详解 子类化机制
- Android数据库开发之-SQLite 《函数大全》
- ubuntu 开机运行meteor project
- PHP零碎总结
- Unmarshalling Error: unexpected element 错误的解决
- Android开发:设置TextView的颜色的简便方法
- oracle 11g 有关OEM的命令
- ant 中文手册
- RTX51应用笔记
- 【91xcz】如何屏蔽Windows 7中智能排列的功能
- 黑马程序员--运算符、表达式
- struts2的validate.xml验证无效,且报异常
- 编译Android Source时碰到的问题