javax.xml.bind.MarshalException

Caused by: javax.xml.bind.MarshalException
cxf不能直接返回List数据类型,必须将List二次封装
而且在封装数据必须加上注解
@XmlType(name="imageInfo")
@XmlAccessorType(XmlAccessType.FIELD)
该注解

猜你喜欢

转载自hehaiwen888.iteye.com/blog/1606634