Replies: 2 comments 5 replies
-
I would not say, that commit "fixes" the issue universally on Quarkus 3.x. You can still hit it at build time. It would be interesting to know whether that's your case.
I frankly do not know because I am still rather new to this area. It would be nice know whether a custom context helps. |
Beta Was this translation helpful? Give feedback.
-
@Sgitario I guess we will see this kind of issues more often now that CXF is a part of Quarkus Platform. I am not sure at all what is the right way forward. Do you have any opinion about |
Beta Was this translation helpful? Give feedback.
-
Hi,
I have a service that both uses quarkus-cxf to call a couple of webservices, as well as a rest client used to call a rest endpoint that happens to use XML as its serialisation format (quarkus 2.X).
When trying to call the rest endpoint I get the following exception:
I can understand from this issue that duplicate JAXB classes is to be expected when using CXF.
This isn't strictly a quarkus-cxf issue, as the webservices works as they should, however is there anything I can do on quarkus 2.X other than providing my own JaxbContext bean?
On quarkus 3.X the issue seems to have been fixed by this commit as quarkus began validating the JaxbContext at build time.
Beta Was this translation helpful? Give feedback.
All reactions