[hibernate-issues] [Hibernate-JIRA] Updated: (HV-354) Improve message when building a ValidatorFactory but no provider is available in the classpath

Hardy Ferentschik (JIRA) noreply at atlassian.com
Fri Mar 16 12:18:48 EDT 2012


     [ https://hibernate.onjira.com/browse/HV-354?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hardy Ferentschik updated HV-354:
---------------------------------

    Fix Version/s:     (was: 4.3.0.Final)
                   4.3.0.Beta1

> Improve message when building a ValidatorFactory but no provider is available in the classpath
> ----------------------------------------------------------------------------------------------
>
>                 Key: HV-354
>                 URL: https://hibernate.onjira.com/browse/HV-354
>             Project: Hibernate Validator
>          Issue Type: Improvement
>          Components: engine
>            Reporter: Emmanuel Bernard
>            Priority: Minor
>             Fix For: 4.3.0.Beta1
>
>
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list