title: GWT and Hibernate Validator
body: <p>I have problem with using Hibernate Validator with GWT 2.4. When module is starting i get error:</p>
  
  <blockquote>
    <p>00:00:05,562 [ERROR] Deferred binding result type
    'javax.validation.ValidatorFactory' should not be abstract</p>
    
    <p>java.lang.RuntimeException: Deferred binding failed for
    'javax.validation.ValidatorFactory' (did you forget to inherit a
    required module?)
    ...</p>
  </blockquote>
  
  <p>module configuration:</p>
  
  <pre><code>&lt;module rename-to='start'&gt;
    ...
    &lt;inherits name="com.google.gwt.validation.Validation" /&gt;
    &lt;!-- with this doesn't work too 
    &lt;inherits name="org.hibernate.validator.HibernateValidator" /&gt;
    --&gt;
    ...
  &lt;/module&gt;
  </code></pre>
  
  <p>entry point:</p>
  
  <pre><code>public class Start implements EntryPoint {
      public void onModuleLoad() {
  
          final ValidatorFactory factory = Validation.byDefaultProvider().configure().buildValidatorFactory();
          ...
      }
  }
  </code></pre>
  
  <p>pom.xml</p>
  
  <pre><code>&lt;dependency&gt;
    &lt;groupId&gt;javax.validation&lt;/groupId&gt;
    &lt;artifactId&gt;validation-api&lt;/artifactId&gt;
    &lt;version&gt;1.0.0.GA&lt;/version&gt;
  &lt;/dependency&gt;
  &lt;dependency&gt;
    &lt;groupId&gt;org.hibernate&lt;/groupId&gt;
    &lt;artifactId&gt;hibernate-validator&lt;/artifactId&gt;
    &lt;version&gt;4.2.0.Final&lt;/version&gt;
  &lt;/dependency&gt;
  </code></pre>