title: Using javax.validation in GWT throws runtime error ClassNotFoundException
body: <p>I'm using in GWT application the javax.validation.*
  I added the dependencies to my pom:</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;
  </code></pre>
  
  <p>But on runtime i'm getting ClassNotFoundException :</p>
  
  <p>2012-03-20 09:46:12,253 WARN [pool-2-thread-1] o.s.c.t.c.AnnotationAttributesReadingVisitor [AnnotationAttributesReadingVisitor.java:91] Failed to classload type while reading annotation metadata. This is a non-fatal error, but certain annotation metadata may be unavailable.
  java.lang.ClassNotFoundException: javax.validation.constraints.NotNull
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1701) ~[catalina.jar:7.0.26]
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1546) ~[catalina.jar:7.0.26]
         at </p>
  
  <p>Any ideas?</p>