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

Failed to index ResteasyJackson2Provider using the keycloak-admin-client-reactive extension #27907

Closed
jorsol opened this issue Sep 13, 2022 · 2 comments · Fixed by #28214
Closed
Labels
area/jackson Issues related to Jackson (JSON library) area/keycloak kind/bug Something isn't working
Milestone

Comments

@jorsol
Copy link
Contributor

jorsol commented Sep 13, 2022

Describe the bug

The quarkus-keycloak-admin-client-reactive extension excludes dependencies from classic RESTEasy including org.jboss.resteasy.plugins.providers.jackson.ResteasyJackson2Provider.

The keycloak-admin-client dependency has a JacksonProvider class that extends ResteasyJackson2Provider.

When Quarkus is building the app, it prints a WARNING that can't index the org.jboss.resteasy.plugins.providers.jackson.ResteasyJackson2Provider because it doesn't exist.

Expected behavior

No warning in the build output.

Actual behavior

[INFO] --- quarkus-maven-plugin:2.12.2.Final:build (default) @ viz-rest-api ---
[WARNING] [io.quarkus.arc.processor.BeanArchives] Failed to index org.jboss.resteasy.plugins.providers.jackson.ResteasyJackson2Provider: Class does not exist in ClassLoader QuarkusClassLoader:Deployment Class Loader: PROD@3237522b
[INFO] [io.quarkus.arc.processor.IndexClassLookupUtils] Class for name: org.jboss.resteasy.plugins.providers.jackson.ResteasyJackson2Provider was not found in Jandex index. Please ensure the class is part of the index.

How to Reproduce?

No response

Output of uname -a or ver

No response

Output of java -version

openjdk 17.0.4.1

GraalVM version (if different from Java)

No response

Quarkus version or git rev

2.12.2.Final

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

3.8.6

Additional information

No response

@jorsol jorsol added the kind/bug Something isn't working label Sep 13, 2022
@quarkus-bot quarkus-bot bot added area/jackson Issues related to Jackson (JSON library) area/keycloak labels Sep 13, 2022
@quarkus-bot
Copy link

quarkus-bot bot commented Sep 13, 2022

/cc @geoand, @gsmet, @pedroigor, @sberyozkin

@geoand
Copy link
Contributor

geoand commented Sep 14, 2022

Thanks for reporting @jorsol!
Would you like to take a stab at fixing this?

michalvavrik added a commit to michalvavrik/quarkus that referenced this issue Sep 27, 2022
michalvavrik added a commit to michalvavrik/quarkus that referenced this issue Sep 27, 2022
@quarkus-bot quarkus-bot bot added this to the 2.14 - main milestone Sep 27, 2022
@gsmet gsmet modified the milestones: 2.14 - main, 2.13.1.Final Sep 30, 2022
gsmet pushed a commit to gsmet/quarkus that referenced this issue Oct 3, 2022
igorregis pushed a commit to igorregis/quarkus that referenced this issue Oct 16, 2022
igorregis pushed a commit to igorregis/quarkus that referenced this issue Oct 16, 2022
igorregis pushed a commit to igorregis/quarkus that referenced this issue Oct 16, 2022
igorregis pushed a commit to igorregis/quarkus that referenced this issue Oct 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/jackson Issues related to Jackson (JSON library) area/keycloak kind/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants