unnecessary warning was shown resteasy-reactive
See original GitHub issueDescribe the bug I got the message when resteasy-reactive project.
(build-70) [io.quarkus.resteasy.common.deployment.ResteasyCommonProcessor] null: Quarkus detected the need for Mutiny reactive programming support, however the quarkus-resteasy-mutiny extension was not present. I used quarkus-resteasy-reactive-jackson with below dependency.
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-resteasy-reactive-jackson</artifactId>
</dependency>
In my understanding if I added resteasy-reactive-jackson, then it includes automatically .
<dependency>
<groupId>io.smallrye.reactive</groupId>
<artifactId>mutiny</artifactId>
</dependency>
So, I don’t need add “quarkus-resteasy-mutiny” extension, although I use Uni/Multi.
I think that is happened when I add two dependencies quarkus-keycloak-admin-client and quarkus-smallrye-jwt for other purpose.
Could you please let me know to remove this “WARN”, when I see RestEasyCommonProcessor" code, it is checked RESTEASY_MUTINY for capability, but seems like need to check other way which can be used for smallrye reactive.
I suspect that warning is because “quarkus-keycloak-admin-client” use resteasy class
Expected behavior if there is below dependency for mutiny in quarkus-resteasy-reactive-jackson <dependency> <groupId>io.smallrye.reactive</groupId> <artifactId>mutiny</artifactId> </dependency>
the warning message should not be shown.
(build-70) [io.quarkus.resteasy.common.deployment.ResteasyCommonProcessor] null: Quarkus detected the need for Mutiny reactive programming support, however the quarkus-resteasy-mutiny extension was not present. I used quarkus-resteasy-reactive-jackson with below dependency.
(Describe the expected behavior clearly and concisely.)
(Describe the actual behavior clearly and concisely.)
To Reproduce Add this two dependency, then this warning was shown.
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-resteasy-reactive-jackson</artifactId>
</dependency>
<dependency>
<artifactId>quarkus-keycloak-admin-client</artifactId>
<groupId>io.quarkus</groupId>
</dependency>
Link to a small reproducer (preferably a Maven project if the issue is not Gradle-specific).
Screenshots (If applicable, add screenshots to help explain your problem.)
Environment (please complete the following information):
- Output of
uname -a
orver
: - Output of
java -version
: - GraalVM version (if different from Java): GraalVM 11
- Quarkus version or git rev:
- Build tool (ie. output of
mvnw --version
orgradlew --version
):
Additional context (Add any other context about the problem here.)
Issue Analytics
- State:
- Created 3 years ago
- Comments:14 (7 by maintainers)
I think it could be named “Unexpected transitive import of resteasy when using resteasy-reactive”. Thanks to you for reporting 😃
I’ll be happy to, what do we want to call the new issue, so that we can properly separate it from this one? Otherwise I’d call it “resteasy-reactive extension imports non-reactive versions transitively”,
Also, a really big thank you for your quick help. I, and everyone on my team, really appreciates it.