现在的位置: 首页 > 综合 > 正文

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

2014年04月05日 ⁄ 综合 ⁄ 共 576字 ⁄ 字号 评论关闭
在你的xxx.gwt.xml文件中添加如下内容
<inherits name="javax.validation.Validation"/>
 
添加一下包validation-api-1.0.0.GA.jar and validation-api-1.0.0.GA-sources.jar
 
  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

抱歉!评论已关闭.