]
Hardy Ferentschik updated HV-354:
---------------------------------
Fix Version/s: 4.x
Improve message when building a ValidatorFactory but no provider is
available in the classpath
----------------------------------------------------------------------------------------------
Key: HV-354
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HV-354
Project: Hibernate Validator
Issue Type: Improvement
Reporter: Emmanuel Bernard
Assignee: Hardy Ferentschik
Priority: Minor
Fix For: 4.x
Caused by: javax.validation.ValidationException: Unable to find a
default provider
at javax.validation.Validation
$GenericBootstrapImpl.configure(Validation.java:264)
at
javax.validation.Validation.buildDefaultValidatorFactory(Validation.java:111)
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."
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: