我已经对POJO(profile)对象进行了动态筛选。过滤逻辑使用fine.Need将过滤后的对象作为响应返回。但在泽西层中,当返回profile对象时,将面临问题(MappableException)。 try{
// Printing the filtered json(ObjectWriter.java:1429) at
最近,我从泽西岛1.X转到了泽西岛2.1,并使用泽西-媒体-杰克森(Jackson)进行(反)序列化为Json。MessageBodyReader not found for media type=application/json,
type=interface java.util.List, genericType=java.util.Collection<java.lang.Stri