https://github.com/apache/cxf/blob/master/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/utils/JAXRSUtils.java#L1412 is likely the one but looks like johnzon was not scanned nor registered programmatically
Maybe code this bean: @Produces("application/json") // jaxrs import @Provider //jaxrs import @Dependent // cdi import public class MyJson<T> extends JsonbJaxrsProvider<T> {} Should be enough if it is the issue (or use delegation instead of inheritance) Le jeu. 13 juin 2019 à 18:45, Rémy Maucherat <r...@apache.org> a écrit : > On Thu, Jun 13, 2019 at 5:31 PM Romain Manni-Bucau <rmannibu...@gmail.com> > wrote: > >> can you drop johnzon-jsonb (+-core + -mapper + jsonp and jsonb specs >> jars) too? >> > > Ok, thanks. Still not working though, and this part of the code doesn't > have debug logs of any kind, so I'll now have to trace the whole thing. It > feels bad I have to do that as serializing json didn't seem *so* complex > overall in the first place. > > Rémy > > >> Romain Manni-Bucau >> @rmannibucau <https://twitter.com/rmannibucau> | Blog >> <https://rmannibucau.metawerx.net/> | Old Blog >> <http://rmannibucau.wordpress.com> | Github >> <https://github.com/rmannibucau> | LinkedIn >> <https://www.linkedin.com/in/rmannibucau> | Book >> <https://www.packtpub.com/application-development/java-ee-8-high-performance> >> >> >> Le jeu. 13 juin 2019 à 17:26, Rémy Maucherat <r...@apache.org> a écrit : >> >>> On Wed, Jun 12, 2019 at 8:32 AM Romain Manni-Bucau < >>> rmannibu...@gmail.com> wrote: >>> >>>> Joke apart, and assuming you grabbed the spec yourself (geronimo, javax >>>> or jakarta jars) you just need: >>>> >>>> org.apache.cxf:cxf-core:3.3.2 >>>> org.apache.cxf:cxf-rt-security:3.3.2 >>>> org.apache.cxf:cxf-rt-transports-http:3.3.2 >>>> org.apache.cxf:cxf-rt-frontend-jaxrs:3.3.2 >>>> org.apache.cxf:cxf-integration-cdi:3.3.2 >>>> org.apache.cxf:cxf-rt-rs-client:3.3.2 (optional but if you target >>>> Microprofile you need it) >>>> >>> >>> About CXF, I still have one issue related to json. >>> org.apache.cxf.jaxrs.utils.JAXRSUtils.logMessageHandlerProblem No >>> message body writer has been found for class >>> org.apache.geronimo.microprofile.common.jaxrs.HealthChecksEndpoint$AggregatedResponse, >>> ContentType: application/json >>> It should be very simple, but for whatever reason I cannot get it to >>> work (I added cxf-rt-rs-extension-providers which has the json provider). >>> Anyway it's mostly a cosmetic issue at this point. >>> >>> I now know what I want to do with CXF, but it's certainly harder than >>> for OWN (no surprise). >>> >>> Rémy >>> >>>