是否有一种简单的方法,可以用来对“努力”或列入“RESTEasy”名单进行分类和进行划界?
我的法典样本:
@GET
@Path("/getSomething")
@Produces(MediaType.APPLICATION_JSON)
public List<String> getSomeData() {
return Arrays.asList("a","b","c","d");
}
以上是:
Could not find MessageBodyWriter for response object
of type: java.util.Arrays$ArrayList of media type: application/json