Maybe i wrote too quickly. Can you replace Resource by Service please
(sorry again)
Le 21 sept. 2012 18:45, "andyay" <[email protected]> a écrit :

> Just replaced my Tomee with apache-tomee-1.1.1-20120919.130758-4-plus. The
> error goes away. But the problem is the same. (i.e. WARNING: No message
> body
> writer has been found for response class Customer.)
>
> Is there a problem in my xml files ?
>
> This is what I put in WEB-INF\openejb-jar.xml
> <openejb-jar>
>   <pojo-deployment class="com.mycompany.Test3">
>     <properties>
>        cxf.jaxrs.providers = com.mycompany.MyMessageBodyWriter
>     </properties>
>   </pojo-deployment>
> </openejb-jar>
>
> This is what I put in WEB-INF\resources.xml
>  <resources>
>   <Resource id="my" class-name="com.mycompany.Test3" />
> </resources>
>
>
>
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/Simple-MessageBodyWriter-Testing-with-No-message-body-writer-has-been-found-for-response-class-error-tp4657558p4657588.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>

Reply via email to