【发布时间】:2014-12-15 14:32:00
【问题描述】:
我在我的代码中添加了一个新的 Web 服务。为此,我必须添加一个新的具体数据 POJO 集。
import java.io.Serializable;
import javax.xml.bind.annotation.XmlRootElement;
import com.swipex.common.authenticator.IAuthenticable;
public class CServiceCenterOwnerDetails implements IServiceCenterOwnerDetails,
IServiceCenterOwnerDetailsSetters, IAuthenticable, Serializable {
private static final long serialVersionUID = 1L;
我得到的例外是
com.sun.jersey.api.client.clienthandlerexception: a message body writer for java type, class , and mime media type, application/json, was not found at com.sun.jersey.client.urlconnection.urlconnectionclienthandler.handle
【问题讨论】: