snowdrop-zen / quarkus

Quarkus: Supersonic Subatomic Java.
https://quarkus.io
Apache License 2.0
1 stars 0 forks source link

RestEasy Jaxb not registered properly anymore #216

Open snowdrop-bot opened 3 years ago

snowdrop-bot commented 3 years ago

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$