今天,在使用cxf读取内网数据库的数据时,报以下一个错误
Problem with writing the data, class java.util.ArrayList, ContentType: application/xml
以上错误提示我们,在写入数据时有错误,最后经检查发现在实体类前少加了一个注解
@XmlRootElement(name="具体使用的类名")
转载于:https://blog.51cto.com/10488277/1923281
今天,在使用cxf读取内网数据库的数据时,报以下一个错误
Problem with writing the data, class java.util.ArrayList, ContentType: application/xml
以上错误提示我们,在写入数据时有错误,最后经检查发现在实体类前少加了一个注解
@XmlRootElement(name="具体使用的类名")
转载于:https://blog.51cto.com/10488277/1923281