虽然我正在尝试返回List,但它的throwing没有找到响应类ArrayList的消息正文作者。没有发现响应类的消息正文作者ArrayList
我的代码如下:
@POST
@Path("/{scope}/{application}/tables")
@Produces("application/xml")
public List<String> getTableNames(@PathParam("scope") String scope,
@PathParam("application") String application, Request request) {
// For example, I am returning a list of String
return new ArrayList<String>(4);
}
请帮助我。在此先感谢
并确保'Container'具有默认的无参数构造函数:) – vikingsteve 2013-11-05 15:09:50