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

Failure analyser for a missing validation provider does not kick in when using the latest Jakarta Validation API #19671

Closed
wilkinsona opened this issue Jan 13, 2020 · 0 comments
Assignees
Labels
type: bug A general bug
Milestone

Comments

@wilkinsona
Copy link
Member

wilkinsona commented Jan 13, 2020

We look for a ValidationException with a message that starts with the following:

Unable to create a Configuration, because no Bean Validation provider could be found

When using the version 2.0.2 Jakarta variant of the API, the message is actually the following:

Unable to create a Configuration, because no Jakarta Bean Validation provider could be found. Add a provider like Hibernate Validator (RI) to your classpath.

Note the addition of Jakarta in the first sentence of the message which is absent when using the Javax variant and version 2.0.1 of the Jakarta variant.

@wilkinsona wilkinsona added this to the 2.1.x milestone Jan 13, 2020
@wilkinsona wilkinsona added the type: bug A general bug label Jan 13, 2020
@wilkinsona wilkinsona modified the milestones: 2.1.x, 2.2.x Jan 13, 2020
@wilkinsona wilkinsona self-assigned this Jan 13, 2020
@wilkinsona wilkinsona changed the title Failure analyser for a missing validation provider does not kick in when using the Jakarta Validation API Failure analyser for a missing validation provider does not kick in when using the latest Jakarta Validation API Jan 13, 2020
@wilkinsona wilkinsona modified the milestones: 2.2.x, 2.2.3 Jan 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug A general bug
Projects
None yet
Development

No branches or pull requests

1 participant