1 Reply Latest reply on Apr 3, 2011 1:09 AM by Sam W

    package javax.validation.constraints does not exist

    Sam W Expert

      Hello,

       

       

      I am wondering why the I am having the following error when I am in fact have already included the library in the path.

       

      C:\Users\sam\Documents\NetBeansProjects\HousewareEnterpriseApplication-v7\HousewareEnterpriseApplication-v7-ejb\src\java\au\com\houseware\server\ejb\entity\Address.java:19: package javax.validation.constraints does not exist

      import javax.validation.constraints.NotNull;

      C:\Users\sam\Documents\NetBeansProjects\HousewareEnterpriseApplication-v7\HousewareEnterpriseApplication-v7-ejb\src\java\au\com\houseware\server\ejb\entity\Address.java:20: package javax.validation.constraints does not exist

      import javax.validation.constraints.Size;

       

       

      I have included jboss6.0.0.final\common\lib\hibernate-validator.jar in the path.

      But Netbeans 7 still indicate I am missing the library.

      Is this the library required?

       

      Thanks

      Sam