Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RestEasy Jaxb not registered properly anymore #216

Open
snowdrop-bot opened this issue Nov 24, 2020 · 0 comments
Open

RestEasy Jaxb not registered properly anymore #216

snowdrop-bot opened this issue Nov 24, 2020 · 0 comments

Comments

@snowdrop-bot
Copy link
Collaborator

Describe the bug
After Upgrading our Application from 1.9.2.Final to 1.10.0.Final which uses Jax-b, REST calls fail because there is no MessageBodyReader present anymore

RESTEASY003145: Unable to find a MessageBodyReader of content-type application/xml and type class xxx.xxx.xxx

The dependecies include

        <dependency>
            <groupId>io.quarkus</groupId>
            <artifactId>quarkus-jaxb</artifactId>
        </dependency>
        <dependency>
            <groupId>io.quarkus</groupId>
            <artifactId>quarkus-resteasy-jaxb</artifactId>
        </dependency>
        <dependency>
            <groupId>io.quarkus</groupId>
            <artifactId>quarkus-rest-client-jaxb</artifactId>
        </dependency>

Funny Note:
In Tests that are run without Quarkus, the Jaxb-Providers are still registered and working

Expected behavior
XML should be read with jaxb as before

Actual behavior
(Describe the actual behavior clearly and concisely.)


**Environment (please complete the following information):**
 - Output of `uname -a` or `ver`: Linux 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

 - Output of `java -version`: openjdk 11.0.9 2020-10-20 LTS
 - Quarkus version or git rev: 1.10.0.Final



---

https://github.com/quarkusio/quarkus/issues/13453

---

$upstream:13453$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants