title: Vaadin 6 widgetset compilation error (maven dependencies)
body: <p>I know there is a lot of thread about this topic, but most of them 3-4 years old or not related to my problem. I even do not know if somebody is using vaadin 6 (vaadin 7 seems popular). </p>
  
  <p>I have tried a numerous thing (adding dependencies to pom, vaadin version upgrade from 6.7.1, facets to project)</p>
  
  <p>I trully appreciate any thoughts, idea about the solutio, attached the exception and the pom.xml, if any more information is needed please do not hesitate.</p>
  
  <p>I have already spent an almost a full day to fix this problem:</p>
  
  <p><strong>Exception</strong></p>
  
  <pre><code>Starting GWT compiler
  Compiling module applicLiquidator.applicLiquidator.gwt.AppWidgetSet
     Validating newly compiled units
        [ERROR] Errors in 'jar:file:/C:/Users/Boss/.m2/repository/com/google/gwt/gwt-user/2.3.0/gwt-user-2.3.0.jar!/com/google/gwt/editor/client/EditorDriver.java'
           [ERROR] Line 20: The import javax.validation.ConstraintViolation cannot be resolved
           [ERROR] Line 97: ConstraintViolation cannot be resolved to a type
        [ERROR] Errors in 'jar:file:/C:/Users/Boss/.m2/repository/com/google/gwt/gwt-user/2.3.0/gwt-user-2.3.0.jar!/com/google/gwt/editor/client/impl/AbstractSimpleBeanEditorDriver.java'
           [ERROR] Line 28: Name clash: The method setConstraintViolations(Iterable&lt;ConstraintViolation&lt;?&gt;&gt;) of type BaseEditorDriver&lt;T,E&gt; has the same erasure as setConstraintViolations(Iterable&lt;ConstraintViolation&lt;?&gt;&gt;) of type EditorDriver&lt;T&gt; but does not override it
        [ERROR] Errors in 'jar:file:/C:/Users/Boss/.m2/repository/com/google/gwt/gwt-user/2.3.0/gwt-user-2.3.0.jar!/com/google/gwt/editor/client/impl/BaseEditorDriver.java'
           [ERROR] Line 31: The import javax.validation.ConstraintViolation cannot be resolved
           [ERROR] Line 67: ConstraintViolation cannot be resolved to a type
        [ERROR] Errors in 'jar:file:/C:/Users/Boss/.m2/repository/com/google/gwt/gwt-user/2.3.0/gwt-user-2.3.0.jar!/com/google/gwt/editor/client/impl/SimpleViolation.java'
           [ERROR] Line 25: The import javax.validation.ConstraintViolation cannot be resolved
           [ERROR] Line 40: ConstraintViolation cannot be resolved to a type
           [ERROR] Line 43: ConstraintViolation cannot be resolved to a type
           [ERROR] Line 44: Missing code implementation in the compiler
           [ERROR] Line 49: ConstraintViolation cannot be resolved to a type
           [ERROR] Line 49: Missing code implementation in the compiler
           [ERROR] Line 70: ConstraintViolation cannot be resolved to a type
           [ERROR] Line 72: ConstraintViolation cannot be resolved to a type
           [ERROR] Line 73: ConstraintViolation&lt;?&gt; cannot be resolved to a type
           [ERROR] Line 77: ConstraintViolation&lt;capture#2-of ?&gt; cannot be resolved to a type
           [ERROR] Line 81: ConstraintViolation&lt;capture#3-of ?&gt; cannot be resolved to a type
           [ERROR] Line 89: ConstraintViolation&lt;capture#4-of ?&gt; cannot be resolved to a type
           [ERROR] Line 93: ConstraintViolation&lt;capture#5-of ?&gt; cannot be resolved to a type
           [ERROR] Line 98: ConstraintViolation cannot be resolved to a type
        [ERROR] Errors in 'jar:file:/C:/Users/Boss/.m2/repository/com/google/gwt/gwt-user/2.3.0/gwt-user-2.3.0.jar!/com/google/gwt/editor/client/testing/MockSimpleBeanEditorDriver.java'
           [ERROR] Line 26: The import javax.validation.ConstraintViolation cannot be resolved
           [ERROR] Line 35: The type MockSimpleBeanEditorDriver&lt;T,E&gt; must implement the inherited abstract method EditorDriver&lt;T&gt;.setConstraintViolations(Iterable&lt;ConstraintViolation&lt;?&gt;&gt;)
           [ERROR] Line 107: Name clash: The method setConstraintViolations(Iterable&lt;ConstraintViolation&lt;?&gt;&gt;) of type MockSimpleBeanEditorDriver&lt;T,E&gt; has the same erasure as setConstraintViolations(Iterable&lt;ConstraintViolation&lt;?&gt;&gt;) of type EditorDriver&lt;T&gt; but does not override it
           [ERROR] Line 108: ConstraintViolation cannot be resolved to a type
        [ERROR] Errors in 'jar:file:/C:/Users/Boss/.m2/repository/com/google/gwt/gwt-user/2.3.0/gwt-user-2.3.0.jar!/javax/validation/super/javax/validation/Configuration.java'
           [ERROR] Line 93: TraversableResolver cannot be resolved to a type
           [ERROR] Line 105: ConstraintValidatorFactory cannot be resolved to a type
           [ERROR] Line 182: TraversableResolver cannot be resolved to a type
           [ERROR] Line 182: No source code is available for type TraversableResolver; did you forget to inherit a required module?
           [ERROR] Line 194: ConstraintValidatorFactory cannot be resolved to a type
           [ERROR] Line 194: No source code is available for type ConstraintValidatorFactory; did you forget to inherit a required module?
           [ERROR] Line 202: ValidatorFactory cannot be resolved to a type
           [ERROR] Line 202: No source code is available for type ValidatorFactory; did you forget to inherit a required module?
        [ERROR] Errors in 'jar:file:/C:/Users/Boss/.m2/repository/com/google/gwt/gwt-user/2.3.0/gwt-user-2.3.0.jar!/javax/validation/ConstraintViolationException_CustomFieldSerializer.java'
           [ERROR] Line 30: ConstraintViolationException cannot be resolved to a type
           [ERROR] Line 34: ConstraintViolationException cannot be resolved to a type
           [ERROR] Line 34: No source code is available for type ConstraintViolationException; did you forget to inherit a required module?
           [ERROR] Line 39: ConstraintViolation cannot be resolved to a type
           [ERROR] Line 39: ConstraintViolation cannot be resolved to a type
           [ERROR] Line 40: ConstraintViolationException cannot be resolved to a type
           [ERROR] Line 44: ConstraintViolationException cannot be resolved to a type
        [ERROR] Errors in 'jar:file:/C:/Users/Boss/.m2/repository/com/google/gwt/gwt-user/2.3.0/gwt-user-2.3.0.jar!/javax/validation/super/javax/validation/MessageInterpolator.java'
           [ERROR] Line 21: The import javax.validation.metadata cannot be resolved
           [ERROR] Line 66: ConstraintDescriptor cannot be resolved to a type
        [ERROR] Errors in 'jar:file:/C:/Users/Boss/.m2/repository/com/google/gwt/gwt-user/2.3.0/gwt-user-2.3.0.jar!/javax/validation/super/javax/validation/constraints/Pattern.java'
           [ERROR] Line 30: The import javax.validation.Constraint cannot be resolved
           [ERROR] Line 31: The import javax.validation.Payload cannot be resolved
           [ERROR] Line 49: Constraint cannot be resolved to a type
           [ERROR] Line 49: The attribute validatedBy is undefined for the annotation type Constraint
           [ERROR] Line 75: Payload cannot be resolved to a type
        [ERROR] Errors in 'jar:file:/C:/Users/Boss/.m2/repository/com/google/gwt/gwt-user/2.3.0/gwt-user-2.3.0.jar!/javax/validation/super/javax/validation/spi/ConfigurationState.java'
           [ERROR] Line 22: The import javax.validation.ConstraintValidatorFactory cannot be resolved
           [ERROR] Line 24: The import javax.validation.TraversableResolver cannot be resolved
           [ERROR] Line 93: ConstraintValidatorFactory cannot be resolved to a type
           [ERROR] Line 107: TraversableResolver cannot be resolved to a type
     Computing all possible rebind results for 'com.google.gwt.user.client.UserAgentAsserter'
        Rebinding com.google.gwt.user.client.UserAgentAsserter
           Checking rule &lt;generate-with class='com.google.gwt.editor.rebind.SimpleBeanEditorDriverGenerator'/&gt;
              [WARN] Detected warnings related to 'com.google.gwt.editor.client.SimpleBeanEditorDriver'.   Are validation-api-&lt;version&gt;.jar and validation-api-&lt;version&gt;-sources.jar on the classpath?
              [WARN] Unknown type 'com.google.gwt.editor.client.SimpleBeanEditorDriver' specified in deferred binding rule
  </code></pre>
  
  <p><strong>pom.xml:</strong></p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"&gt;
      &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
      &lt;groupId&gt;applicLiquidator&lt;/groupId&gt;
      &lt;artifactId&gt;applicLiquidator&lt;/artifactId&gt;
      &lt;packaging&gt;war&lt;/packaging&gt;
      &lt;version&gt;0.0.1-SNAPSHOT&lt;/version&gt;
      &lt;name&gt;Vaadin JPAContainer Web Application&lt;/name&gt;
      &lt;properties&gt;
          &lt;project.build.sourceEncoding&gt;UTF-8&lt;/project.build.sourceEncoding&gt;
          &lt;vaadin.version&gt;6.8.13&lt;/vaadin.version&gt;
          &lt;jpacontainer.version&gt;2.0.0&lt;/jpacontainer.version&gt;
          &lt;gwt.version&gt;2.3.0&lt;/gwt.version&gt;
          &lt;gwt.plugin.version&gt;2.3.0-1&lt;/gwt.plugin.version&gt;
      &lt;/properties&gt;
      &lt;repositories&gt;
          &lt;repository&gt;
              &lt;id&gt;vaadin-addons&lt;/id&gt;
              &lt;url&gt;http://maven.vaadin.com/vaadin-addons&lt;/url&gt;
          &lt;/repository&gt;
          &lt;repository&gt;
              &lt;id&gt;vaadin-snapshots&lt;/id&gt;
              &lt;url&gt;http://oss.sonatype.org/content/repositories/vaadin-snapshots/&lt;/url&gt;
              &lt;releases&gt;
                  &lt;enabled&gt;false&lt;/enabled&gt;
              &lt;/releases&gt;
              &lt;snapshots&gt;
                  &lt;enabled&gt;true&lt;/enabled&gt;
              &lt;/snapshots&gt;
          &lt;/repository&gt;
          &lt;repository&gt;
              &lt;id&gt;EclipseLink Repo&lt;/id&gt;
              &lt;url&gt;http://www.eclipse.org/downloads/download.php?r=1&amp;amp;nf=1&amp;amp;file=/rt/eclipselink/maven.repo&lt;/url&gt;
          &lt;/repository&gt;
      &lt;/repositories&gt;
      &lt;dependencies&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;com.vaadin.addon&lt;/groupId&gt;
              &lt;artifactId&gt;jpacontainer-addon-agpl-3.0&lt;/artifactId&gt;
              &lt;version&gt;${jpacontainer.version}&lt;/version&gt;
              &lt;type&gt;jar&lt;/type&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.vaadin.addons&lt;/groupId&gt;
              &lt;artifactId&gt;customfield&lt;/artifactId&gt;
              &lt;version&gt;0.9.3&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;com.vaadin.addon&lt;/groupId&gt;
              &lt;artifactId&gt;beanvalidation-addon&lt;/artifactId&gt;
              &lt;version&gt;1.0.0&lt;/version&gt;
          &lt;/dependency&gt;
              &lt;dependency&gt;
                  &lt;groupId&gt;org.vaadin.addons&lt;/groupId&gt;
                  &lt;artifactId&gt;filteringtable&lt;/artifactId&gt;
                  &lt;version&gt;0.8.4&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.vaadin.addons&lt;/groupId&gt;
              &lt;artifactId&gt;popupbutton&lt;/artifactId&gt;
              &lt;version&gt;1.2.1&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;com.vaadin&lt;/groupId&gt;
              &lt;artifactId&gt;vaadin&lt;/artifactId&gt;
              &lt;version&gt;${vaadin.version}&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.eclipse.persistence&lt;/groupId&gt;
              &lt;artifactId&gt;eclipselink&lt;/artifactId&gt;
              &lt;version&gt;2.2.0&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.eclipse.persistence&lt;/groupId&gt;
              &lt;artifactId&gt;javax.persistence&lt;/artifactId&gt;
              &lt;version&gt;2.0.0&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;com.h2database&lt;/groupId&gt;
              &lt;artifactId&gt;h2&lt;/artifactId&gt;
              &lt;version&gt;1.3.160&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.hibernate&lt;/groupId&gt;
              &lt;artifactId&gt;hibernate-validator&lt;/artifactId&gt;
              &lt;version&gt;4.2.0.Final&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;com.google.gwt&lt;/groupId&gt;
              &lt;artifactId&gt;gwt-user&lt;/artifactId&gt;
              &lt;version&gt;${gwt.version}&lt;/version&gt;
              &lt;scope&gt;provided&lt;/scope&gt;
          &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;com.google.gwt&lt;/groupId&gt;
          &lt;artifactId&gt;gwt-dev&lt;/artifactId&gt;
          &lt;version&gt;${gwt.version}&lt;/version&gt;
          &lt;scope&gt;provided&lt;/scope&gt;
      &lt;/dependency&gt;
          &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;scope&gt;provided&lt;/scope&gt;
      &lt;/dependency&gt;
       &lt;dependency&gt;
        &lt;groupId&gt;junit&lt;/groupId&gt;
        &lt;artifactId&gt;junit&lt;/artifactId&gt;
        &lt;version&gt;4.11&lt;/version&gt;
       &lt;/dependency&gt;
       &lt;dependency&gt;
        &lt;groupId&gt;org.easymock&lt;/groupId&gt;
        &lt;artifactId&gt;easymockclassextension&lt;/artifactId&gt;
        &lt;version&gt;3.2&lt;/version&gt;
       &lt;/dependency&gt;
       &lt;dependency&gt;
        &lt;groupId&gt;org.powermock&lt;/groupId&gt;
        &lt;artifactId&gt;powermock-api-easymock&lt;/artifactId&gt;
        &lt;version&gt;1.5.2&lt;/version&gt;
       &lt;/dependency&gt;
       &lt;dependency&gt;
        &lt;groupId&gt;org.powermock&lt;/groupId&gt;
        &lt;artifactId&gt;powermock-module-junit4&lt;/artifactId&gt;
        &lt;version&gt;1.5.2&lt;/version&gt;
       &lt;/dependency&gt;
       &lt;dependency&gt;
        &lt;groupId&gt;org.vaadin.addon&lt;/groupId&gt;
        &lt;artifactId&gt;confirmdialog&lt;/artifactId&gt;
        &lt;version&gt;1.2.1&lt;/version&gt;
       &lt;/dependency&gt;
      &lt;/dependencies&gt;
  
      &lt;build&gt;
          &lt;plugins&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                  &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt;
                  &lt;configuration&gt;
                      &lt;source&gt;1.7&lt;/source&gt;
                      &lt;target&gt;1.7&lt;/target&gt;
                  &lt;/configuration&gt;
              &lt;/plugin&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.mortbay.jetty&lt;/groupId&gt;
                  &lt;artifactId&gt;jetty-maven-plugin&lt;/artifactId&gt;
              &lt;/plugin&gt;
          &lt;/plugins&gt;
      &lt;/build&gt;
  &lt;/project&gt;
  </code></pre>