4 Replies Latest reply on Jun 3, 2011 3:20 PM by mtpettyp

    FacesMessages references InvalidValue missing in HibernateValidator 4.0.0.Beta1

    danielyokomizo

      When I use FacesMessages.instance().add(Foo) I get a compiler error saying:


      The type org.hibernate.validator.InvalidValue cannot be resolved. It is indirectly referenced from required .class files


      Apparently the class was removed in the 4.0.0.Beta1 release. I tried this with Seam 2.1.1.GA, 2.1.2.GA and 2.2.O.CR1 but in all versions the problem persists.


      As we're using javax.validation, we must use HibernateValidator 4.0.0.Beta1 (as we don't want to add yet another dependency to our project, just to use a different validation provider).


      Is this a known issue?


      Thanks in advance.