servicemix-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bengt Rodehav <>
Subject Re: org.apache.servicemix.bundles.hibernate-validator: Unable to find a default provider
Date Fri, 19 Nov 2010 07:44:05 GMT
I've only used the hibernate validator (default) so this is a new area to

Out of curiosity, how would you compare Apache Bean Validation with
Hibernate validator - is it good?


2010/11/18 jdart <>

> I think this still may be broken in the OSGi environment in the case where
> you are configuring for a specific provider class (in my case I am using
> Apache Bean Validation). I am getting an exception at
> javax.validation.Validation$ProviderSpecificBootstrapImpl.configure(
> When I step through the code I see that it is calling the default
> validation
> provider resolver to get the list of validation providers - and neither the
> Osgi loading mechanism nor the services file mechanism is returning a
> provider.
> But it does not make sense to me that it is calling the resolver at all
> because in this part of the code it already has the specific validator
> class
> instance, so all it should have to do is instantiate it.
> --
> View this message in context:
> Sent from the ServiceMix - User mailing list archive at

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message