2 Replies Latest reply on Apr 19, 2007 7:45 AM by sandytech

    Error while using Email validation Annotation

    sandytech

      Hi All.
      I'm using @Email validation for validating email field,while compiling I'm getting an error like


      E:\workspace\SeamRegistration\examples\booking\src\org\jboss\seam\example\booking\User.java:117: cannot find symbol
      [javac] symbol : class Email
      [javac] location: class org.jboss.seam.example.booking.User
      [javac] @Email
      [javac] ^
      [javac] 1 error


      Can anyone tell me why this error comes?Is there any need to add any class like Email?

      Thanks in advance.
      Sandy.