I try to get a JSON object response from my REST implementation.
For test purpose i wrote a Foo class annotated with @XmlRootElement

I use the openejb 4.7.0 version and it works like a charme

In the openejb 5.0.0-snapshot version i get the error message:
*No message body writer has been found for class
com.test.rest.common.dto.Foo, ContentType: application/json*

The service is packaged in a jar. If i return a String it works. Only the
object mapping does´t work.

I try to switch to the snapshot version cause of java-ee 7 support.


Is this a bug or a misconfiguration by me?



--
View this message in context: 
http://tomee-openejb.979440.n4.nabble.com/No-message-body-writer-has-been-found-for-class-tp4674911.html
Sent from the TomEE Users mailing list archive at Nabble.com.

Reply via email to