Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
9.0.0-M7
-
None
Description
If I start any simple JAX-RS example application on 9.0.0-M3, TomEE logs these MessageBodyWriters and MessageBodyReaders:
Using readers:
...
org.apache.openejb.server.cxf.rs.johnzon.TomEEJsonbProvider@7c9274f6
org.apache.openejb.server.cxf.rs.johnzon.TomEEJsonpProvider@b02722c
...
Using writers:
...
org.apache.openejb.server.cxf.rs.johnzon.TomEEJsonbProvider@7c9274f6
org.apache.openejb.server.cxf.rs.johnzon.TomEEJsonpProvider@b02722c
...
Since 9.0.0-M7 these are missing (not logged any more), so JAX-RS methods returning POJOs will fail with HTTP status code 500:
No message body writer has been found for class my.package.MyPojo, ContentType: application/json
Attachments
Issue Links
- duplicates
-
TOMEE-3743 TomEEJsonbProvider not registered anymore as of TomEE 8.0.7? Causes failing REST-services.
- Resolved