Improve message when building a ValidatorFactory but no provider is available in the classpath

Description

The exception message should be clearer than it is today something like:

"Found no Bean Validation provider: unable to create a ValidatorFactory. Add a provider like Hibernate Validator (RI) to your classpath."

Environment

None

Activity

Show:
Gunnar Morling
July 31, 2010, 4:57 PM

Shouldn't this issue be moved to the BVAL project?

Emmanuel Bernard
July 31, 2010, 11:40 PM

It's actually neither HV nor BVAL but since that was an implementation issue, vie put it here.

Rich
April 1, 2011, 10:39 PM

Probably worth adding that it would want to be version 4.x (or greater) too.

Fixed

Assignee

Hardy Ferentschik

Reporter

Emmanuel Bernard

Labels

None

Feedback Requested

None

Feedback Requested By

None

backPortable

None

Suitable for new contributors

None

Pull Request

None

backportDecision

None

backportReEvaluate

None

Components

Fix versions

Priority

Minor
Configure