question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

quarkus-spring-web codestart can't be used with quarkus-resteasy-reactive

See original GitHub issue

Describe the bug

quarkus-spring-web codestart can’t be used with quarkus-resteasy-reactive

Caused by: java.lang.IllegalStateException: Please make sure there is only one provider of the following capabilities:
capability io.quarkus.rest is provided by:
  - io.quarkus:quarkus-resteasy-reactive::jar:2.6.3.Final
  - io.quarkus:quarkus-resteasy::jar:2.6.3.Final

quarkus-spring-web codestart forces RESTEasy Classic - https://github.com/quarkusio/quarkus/blob/main/independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus/extension-codestarts/spring-web-codestart/codestart.yml#L19

Expected behavior

quarkus-spring-web codestart can be used with quarkus-resteasy-reactive

Actual behavior

quarkus-spring-web codestart can’t be used with quarkus-resteasy-reactive

How to Reproduce?

  • mvn io.quarkus.platform:quarkus-maven-plugin:2.6.3.Final:create -DprojectGroupId=my-groupId -DprojectArtifactId=app-generated-skeleton -DprojectVersion=1.0.0-SNAPSHOT -DpackageName=org.my.group -DquarkusRegistryClient=false -DplatformArtifactId=quarkus-bom -DplatformVersion=2.6.3.Final -Dextensions=quarkus-spring-web,quarkus-resteasy-reactive

  • mvn -f app-generated-skeleton quarkus:dev

Output of uname -a or ver

No response

Output of java -version

Java 17

GraalVM version (if different from Java)

No response

Quarkus version or git rev

2.6.3.Final

Build tool (ie. output of mvnw --version or gradlew --version)

No response

Additional information

No response

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
geoandcommented, Apr 12, 2022

Pretty much yeah. 1 is the most important as the generated projects are broken ATM…

0reactions
ia3andycommented, May 5, 2022

So this is the plan you are suggesting right?: 1- we create a PR to use resteasy-reactive-jackson instead (compat with resteasy will be temp broken) 2- we introduce the conditional dependencies 3- we remove resteasy-reactive-jackson from the codestart

Read more comments on GitHub >

github_iconTop Results From Across the Web

Building Quarkus apps with Quarkus Command Line Interface ...
The quarkus command lets you create projects, manage extensions and do essential build and dev commands using the underlying project build tool. This...
Read more >
Quarkus Insights #82: What's new in RESTEasy Reactive
Your browser can't play this video. Learn more.
Read more >
Release Notes for Red Hat build of Quarkus 2.7
Red Hat build of Quarkus is a Kubernetes-native Java stack that is ... is the quarkus-resteasy-reactive extension. quarkus-spring-web no ...
Read more >
Quarkus 2.8.1.Final 发布 - Linuxeden开源社区
Instant params in RESTEasy Reactive #24973 - Bump postgresql from 42.3.3 ... #24890 – Use resteasy-reactive-jackson in spring-web codestart ...
Read more >
RESTEasy Reactive Blocking vs Non-Blocking by default
to Georgios Andrianakis, Stuart Douglas, Quarkus Development mailing list ... will be refactor to use RESTEasy reactive under the hood in blocking mode....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found