【问题标题】:Gwt requestFactory validator not found未找到 Gwt requestFactory 验证器
【发布时间】:2012-09-14 11:55:57
【问题描述】:

在我的项目的引用库中,我有:hibernate-validator-4.1.0.Final.jar

但是当我运行我的项目时,我得到了

[WARN] Server class 'org.springframework.asm.ClassVisitor' could not be found in the web app, but was found on the system classpath
 [WARN] Adding classpath entry 'file:/C:/Users/bob/Downloads/spring-framework-3.1.2.RELEASE/spring-framework-3.1.2.RELEASE/dist/org.springframework.asm-3.1.2.RELEASE.jar' to the web app classpath for this session
   For additional info see: file:/C:/Applications/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.4.0.v201208080121-rel-r42/gwt-2.4.0/doc/helpInfo/webAppClassPath.html
[WARN] Server class 'org.springframework.expression.PropertyAccessor' could not be found in the web app, but was found on the system classpath
   [WARN] Adding classpath entry 'file:/C:/Users/bob/Downloads/spring-framework-3.1.2.RELEASE/spring-framework-3.1.2.RELEASE/dist/org.springframework.expression-3.1.2.RELEASE.jar' to the web app classpath for this session
   For additional info see: file:/C:/Applications/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.4.0.v201208080121-rel-r42/gwt-2.4.0/doc/helpInfo/webAppClassPath.html
[WARN] Server class 'net.sf.cglib.proxy.Enhancer' could not be found in the web app, but was found on the system classpath
   [WARN] Adding classpath entry 'file:/C:/Users/bob/Downloads/lib/cglib-2.2.jar' to the web app classpath for this session
   For additional info see: file:/C:/Applications/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.4.0.v201208080121-rel-r42/gwt-2.4.0/doc/helpInfo/webAppClassPath.html
[WARN] Server class 'javax.validation.ValidationException' could not be found in the web app, but was found on the system classpath
   [WARN] Adding classpath entry 'file:/C:/Applications/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.4.0.v201208080121-rel-r42/gwt-2.4.0/validation-api-1.0.0.GA.jar' to the web app classpath for this session
   For additional info see: file:/C:/Applications/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.4.0.v201208080121-rel-r42/gwt-2.4.0/doc/helpInfo/webAppClassPath.html
14 sept. 2012 13:48:10 com.google.web.bindery.requestfactory.server.ReflectiveServiceLayer <clinit>
INFO: Unable to initialize a JSR 303 Bean Validator
javax.validation.ValidationException: Unable to find a default provider
    at javax.validation.Validation$GenericBootstrapImpl.configure(Validation.java:264)
    at javax.validation.Validation.buildDefaultValidatorFactory(Validation.java:111)

有什么想法吗?

【问题讨论】:

    标签: gwt validation bean-validation requestfactory


    【解决方案1】:

    【讨论】:

      猜你喜欢
      • 2014-06-10
      • 2023-03-17
      • 1970-01-01
      • 2016-11-06
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多