No source code is available for type javax.validation.ConstraintViolation; did you forget to inh

在你的xxx.gwt.xml文件中添加如下内容
<inherits name="javax.validation.Validation"/>
 
添加一下包validation-api-1.0.0.GA.jar and validation-api-1.0.0.GA-sources.jar
 
http://grepcode.com/snapshot/repo1.maven.org/maven2/javax.validation/validation-api/1.0.0.GA
  1. copy your validation-api-1.0.0.GA.jar and validation-api-1.0.0.GA-sources.jar into the gwt-dependencies directory.

  2. remove all VAADIN_DOWNLOAD variables from your classpath.

  3. Add the following variables to the project's build path with the following entries: gwt-dev.jar, gwt-user.jar,validation-api-1.0.0.GA.jar AND validation-api-1.0.0.GA-sources.jar.

  4. Compile widgetset

  5. Enjoy life

你可能感兴趣的:(No source code is available for type javax.validation.ConstraintViolation; did you forget to inh)