-
Notifications
You must be signed in to change notification settings - Fork 41.1k
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
DevTools prevent startup in native image with ClassNotFoundException #35853
Comments
Possibly related issue #33760 |
Can be reproduced with a project from start.spring.io with devtools and native dependency. No other changes needed. |
Hello, Currently, I'm new to use GraalVm but i have exactly the same problem as @mhalbritter. in the pom i got this for dev-tools.
I personally got this error
don't know if it will help :| Good luck ! |
The change in behavior is due to #35548. The changes made for that issue mean that DevTools is no longer included on the classpath during AOT processing. As a result, no reflection hints are generated for |
Building and running web app as native image fails with
java.lang.ClassNotFoundException
after upgrade to Boot 3.1.0 from 3.0.5.Sample project pom.xml for 3.0.x - https://github.com/trisberg/tanzu-java-web-app/blob/main/pom.xml
Same after update to Boot 3.1 - https://github.com/trisberg/tanzu-java-web-app/blob/boot31/pom.xml
The exception:
The text was updated successfully, but these errors were encountered: