Hints on building Spring native image

I am trying to get into native image creation for our Vaadin app. I tried adding

org.graalvm.buildtools
native-maven-plugin

to a Vaadin starter created from https://start.vaadin.com/app, built it with mvn -Pnative -Pproduction spring-boot:build-image and it runs fine with docker run --rm -p 8080:8080 docker.io/library/myapp:1.0-SNAPSHOT.

Encouraged by how easy that was I tried something a little more complex, but when starting my own Vaadin 24 application, I get an error upon startup:

Does anyone here have an idea what I might be doing wrong? Why is Vaadin trying to run the ClassPathScanningCandidateComponentProvider here?
message.txt (12.3 KB)