tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From netname <>
Subject Re: TomEE 1.5 and Jackson
Date Thu, 04 Oct 2012 09:27:20 GMT
>> if you manage to share some maven war project (github or sthg else) i
>> give it a look (but i'm a bit time boxed these days) 

Thanks !!

  The project is:
  One of the beans that I am having problems converting to JSON is:

My openejb-jar.xml is:
    <pojo-deployment class-name="com.palda.faclpt.FacLptConfiguration">
            cxf.jax-rs.providers = jsonProvider, jaxbProvider

and the resources.xml file is:
    <Service id="jsonProvider"
             class-name="org.codehaus.jackson.jaxrs.JacksonJsonProvider" />
    <Service id="jaxbProvider"

It is not clear to me what should I put in the pojo-deployment element. As
of now, I am putting one of the beans to convert.

The error I get is:
Oct 04, 2012 4:10:51 AM org.apache.cxf.jaxrs.interceptor.JAXRSOutInterceptor
WARNING: No message body writer has been found for response class

So it seems that I am failing to indicate TomEE to use Jackson.

Thanks again.

View this message in context:
Sent from the OpenEJB User mailing list archive at

View raw message