阅读背景:

未找到Java类型的Jersey客户端消息正文阅读器

来源:互联网 

I'm using Jersey 1.1 (old, I know - have to because I'm stuck with Java 1.5). I'm doing a simple GET where a Java object is returned as the entity. The Java object is being marshalled correctly (Java to XML) because I can make the GET request via the web and it works great. I'm trying to use the Jersey client to make the GET request and unmarshall it back to the Java object and this is where it's failing. Shouldn't Jersey know how to unmarshall the XML it receives from the GET request back into the POJO since it's annotated correctly? It works on the server side. Here's the exception I get:I'm using Jersey 1.1 (old, I know - have to bec




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: