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 org.springframework.web.bind.annotation.Mapping warning on reload in dev mode #25821

Closed
rsvoboda opened this issue May 27, 2022 · 2 comments · Fixed by #25823
Closed
Labels
area/devmode area/spring Issues relating to the Spring integration kind/bug Something isn't working
Milestone

Comments

@rsvoboda
Copy link
Member

Describe the bug

Failed to index org.springframework.web.bind.annotation.Mapping: Class does not exist in ClassLoader QuarkusClassLoader:Deployment Class Loader: DEV@3b7c2f1b warning on reload in dev mode when using spring-web codestart based application.

2022-05-27 08:24:21,162 INFO  [io.qua.dep.dev.RuntimeUpdatesProcessor] (vert.x-worker-thread-0) Restarting quarkus due to changes in GreetingController.class.
2022-05-27 08:24:21,179 INFO  [io.quarkus] (Quarkus Main Thread) app stopped in 0.016s
2022-05-27 08:24:21,258 WARN  [io.qua.arc.pro.BeanArchives] (build-15) Failed to index org.springframework.web.bind.annotation.Mapping: Class does not exist in ClassLoader QuarkusClassLoader:Deployment Class Loader: DEV@3b7c2f1b

Noticed with Quarkus 2.9.2.Final when using resteasy-reactive-jackson ++ spring-web in dev mode.

Expected behavior

No warning in the log

Actual behavior

Failed to index org.springframework.web.bind.annotation.Mapping warning on reload

How to Reproduce?

quarkus create app app -x=quarkus-spring-web
cd app
code src/main/java/org/acme/GreetingController.java
mvn quarkus:dev
adjust GreetingController.java
curl localhost:8080/greeting
check the log

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.9.2.Final

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

No response

Additional information

No response

@rsvoboda rsvoboda added the kind/bug Something isn't working label May 27, 2022
@quarkus-bot
Copy link

quarkus-bot bot commented May 27, 2022

/cc @geoand

@geoand
Copy link
Contributor

geoand commented May 27, 2022

#25823 fixes the issue, however we need to wait for the release of the Spring dependencies to be available on Maven Central

@quarkus-bot quarkus-bot bot added this to the 2.10 - main milestone May 28, 2022
gsmet added a commit that referenced this issue May 28, 2022
Fix indexing failure warning when using Spring Web
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/devmode area/spring Issues relating to the Spring integration kind/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants