-
Notifications
You must be signed in to change notification settings - Fork 40.2k
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 build spring native image with native-maven-plugin
#38163
Comments
You should follow the recommendation in the error message and use |
Hi, thanks for the prompt reply. I followed your suggestion to trace class initialization. Seems like all of the initialization is caused by the same following error. Can you help me with this to understand why and how it might happen? Thanks
|
You either need to prevent |
Hi,
I failed to build spring native image with a spring boot project.
Spring boot version: 3.0.1
Command to build:
mvnw native:compile -Pnative
Maven plugin config:
The error is as shown below:
The text was updated successfully, but these errors were encountered: