Usage of Android' / GWT' RequestFactory without providing hibernate-validator.jar aka get rid of "Unable to initialize a JSR 303 Bean Validator"

Jul 28, 2011 9:50:57 AM <clinit>INFO: Unable to initialize a JSR 303 Bean Validatorjavax.validation.ValidationException: Unable to find a default provider at javax.validation.Validation$GenericBootstrapImpl.configure( at javax.validation.Validation.buildDefaultValidatorFactory( at<clinit>( at at<init>( at<init>(

First of all: If you don't actually use validation, you don't need the hibernate-validator.jar at all. ...ok, except to get rid of the above "INFO" message? There is also a more resource-efficient way to get rid of this message.

Just put

.level = WARNING 

in a fille called that you can put into your project's src folder. Afterwards you have to add


to your VM parameters when calling GWT or a JUnit Test which is using the RequestFactory.


Popular posts from this blog

Tuning ext4 for performance with emphasis on SSD usage

NetBeans 6.1: Working with Google´s Android SDK, Groovy and Grails