webservice服务报错,信息如下:
javax.xml.bind.MarshalException
- with linked exception:
[com.sun.istack.SAXException2: unable to marshal type "wsstub.sscm.importShipAdviceInfoRouteSrv.InputParameters" as an element because it is missing an @XmlRootElement annotation]
错误原因,实体类缺少注解@XmlRootElement
,加上即可,如下:
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "InputParameters", propOrder = {
"inputcollection",
"msgheader"
})
@XmlRootElement(name="InputParameters")
public class InputParameters {
}
最新评论
网飞没问题, 迪士尼+有解决方案么?
pp助手是安卓手机用的,根本下载用不来苹果
已解决
这样的话数据库里的结构为{"attachment":{"content":"xxx"}}, 要怎么才能变成{"content":"xxx"},从而使结构保持一致?
赞! make test不过的坑都写到的,谢谢楼主~
谢谢你
用了root用户还是一直502是怎么回事呢
student id 是空的