-
Notifications
You must be signed in to change notification settings - Fork 38.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
AOT processing for bean validation fails with NoClassDefFoundError
#33940
Comments
I wonder if we could skip |
JPA is not required to reproduce the issue. At least, I also see it with The root cause seems to be that the The processor is prepared to just carry on when it encounters a |
NoClassDefFoundError
Prior to this commit, AOT processing for bean validation failed with a NoClassDefFoundError for constraints with missing dependencies. With this commit, the processing no longer fails, and a warning is logged instead. See gh-33940 Closes gh-33949 Co-authored-by: Sam Brannen <sam.brannen@broadcom.com>
If I use such a config:
the generated project fails with:
There is no error if I comment out any of the following lines:
If needed, the repro project is here.
The text was updated successfully, but these errors were encountered: