You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Benson Margulies <bi...@gmail.com> on 2009/10/19 16:05:48 UTC

My latest exercise in making JAX-RS explode?

Oct 19, 2009 10:04:10 AM org.apache.cxf.endpoint.ServerImpl initDestination
INFO: Setting the server's publish address to be
http://localhost:8801/rex-ws/
Oct 19, 2009 10:04:11 AM org.apache.cxf.jaxrs.utils.InjectionUtils
reportServerError
SEVERE: Parameter Class org.apache.cxf.jaxrs.ext.multipart.Attachment has no
constructor with single String parameter, static valueOf(String) or
fromString(String) methods
Oct 19, 2009 10:04:11 AM
org.apache.cxf.jaxrs.impl.WebApplicationExceptionMapper toResponse
WARNING: WebApplicationException has been caught : no cause is available

    @POST
    @Path("/gazetteer/{id}/replace-contents/{type}")
    @Consumes("multipart/form-data")
    public Response takeGazetteerContents(@PathParam("id") String id,
                                          @PathParam("type") String type,
                                          @FormParam("content") Attachment
content) {
        return null;
    }