Why are you registering a provider that way ?
Do you use CXFServlet ? Spring ?

Cheers, Sergey

On Fri, Apr 29, 2011 at 3:51 PM, Benson Margulies <[email protected]> wrote:
>  Here's a little service.
>
> I get 2011-04-29 10:49:01,630 [http-64809-2] WARN
> org.apache.cxf.jaxrs.utils.JAXRSUtils - No message body reader has
> been found for request class SystemConfiguration, ContentType :
> application/json.
>
> even though I have
>
> src/main/resources/META-INF/services/javax.ws.rs.ext.MessageBodyReader
>
> containing
>
> org.codehaus.jackson.jaxrs.JacksonJaxbJsonProvider
>
>
>  @POST
>    @Produces("application/json")
>    @Consumes("application/json")
>    @Path("/initial-configuration")
>    public synchronized Response
> initialConfiguration(SystemConfiguration config) {
>        if (serviceState.isConfigured()) {
>            return alreadyConfiguredError();
>        }
>        return doInitialConfiguration(config);
>    }
>



-- 
Sergey Beryozkin

Application Integration Division of Talend
http://sberyozkin.blogspot.com

Reply via email to