title: javax.servlet.ServletException: HV000030: No validator could be found for type: java.util.Date
body: <p>The exception on title appears when I submit a form using JSF 2.1 and using JBoss server.</p>
  
  <p>I'm trying to use and learn hibernate annotations.</p>
  
  <p>My Entity bean is as this : </p>
  
  <pre><code>@NotEmpty
  @Temporal(TemporalType.DATE)
  private Date date;
  </code></pre>
  
  <p>I'm getting this error page :</p>
  
  <pre><code>JBWEB000071: root cause
  
  javax.validation.UnexpectedTypeException: HV000030: No validator could be found for type: java.util.Date.
      org.hibernate.validator.internal.engine.ConstraintTree.verifyResolveWasUnique(ConstraintTree.java:411)
      org.hibernate.validator.internal.engine.ConstraintTree.findMatchingValidatorClass(ConstraintTree.java:392)
      org.hibernate.validator.internal.engine.ConstraintTree.getInitializedValidator(ConstraintTree.java:350)
      org.hibernate.validator.internal.engine.ConstraintTree.validateConstraints(ConstraintTree.java:171)
      org.hibernate.validator.internal.engine.ConstraintTree.validateComposingConstraints(ConstraintTree.java:259)
      org.hibernate.validator.internal.engine.ConstraintTree.validateConstraints(ConstraintTree.java:154)
      org.hibernate.validator.internal.engine.ConstraintTree.validateConstraints(ConstraintTree.java:124)
      org.hibernate.validator.internal.metadata.core.MetaConstraint.validateConstraint(MetaConstraint.java:86)
      org.hibernate.validator.internal.engine.ValidatorImpl.validatePropertyForDefaultGroup(ValidatorImpl.java:820)
      org.hibernate.validator.internal.engine.ValidatorImpl.validatePropertyForCurrentGroup(ValidatorImpl.java:733)
      org.hibernate.validator.internal.engine.ValidatorImpl.validateValueInContext(ValidatorImpl.java:690)
      org.hibernate.validator.internal.engine.ValidatorImpl.validateValue(ValidatorImpl.java:169)
      javax.faces.validator.BeanValidator.validate(BeanValidator.java:315)
      javax.faces.component.UIInput.validateValue(UIInput.java:1153)
      javax.faces.component.UIInput.validate(UIInput.java:971)
      javax.faces.component.UIInput.executeValidate(UIInput.java:1237)
      javax.faces.component.UIInput.processValidators(UIInput.java:702)
      javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1216)
      javax.faces.component.UIForm.processValidators(UIForm.java:253)
      javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1216)
      javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1216)
      javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:1164)
      com.sun.faces.lifecycle.ProcessValidationsPhase.execute(ProcessValidationsPhase.java:76)
      com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
      com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
      javax.faces.webapp.FacesServlet.service(FacesServlet.java:593)
  </code></pre>
  
  <p>Does somebody knows why ?</p>
  
  <p>Thank you,</p>