.. need to add gwt-servlet-jar, validation-api-1.0.0.GA.jar and
validation-api-1.0.0.GA-sources.jar to solve this.

  <target name="libs" description="Copy libs to WEB-INF/lib">
    <mkdir dir="war/WEB-INF/lib" />
    <copy todir="war/WEB-INF/lib" file="${gwt.sdk}/gwt-servlet.jar" />
        <copy todir="war/WEB-INF/lib" file="${gwt.sdk}/gwt-servlet-
deps.jar"/>
        <copy todir="war/WEB-INF/lib" file="${gwt.sdk}/validation-
api-1.0.0.GA.jar"/>
        <copy todir="war/WEB-INF/lib" file="${gwt.sdk}/validation-
api-1.0.0.GA-sources.jar"/>
    <!-- Add any additional server libs that need to be copied -->
  </target>

On Mar 25, 6:50 pm, "Tom K." <[email protected]> wrote:
>    Thanks for the quick reply.
>
>    That seemed to remove a bunch of my errors, but now I'm still left
> with errors.  Forgive my ignorance on how Java dependencies work, I
> work primarily in C/C++, so I don't work in Eclipse as much as I
> should.
>
>    I looked at Maven earlier today for the first time, but I seem so
> close to getting it to run now, that I wanted to get it working first
> before I attempted to get Maven working.
>
>   What I did was copy gwt-servlet-deps.jar into my project's
> directory, and in Eclipse, I added it into the build path for my
> project.  It seems that gwt is still using it though, and isn't
> finding the reference to it.  Is there an ant setting I need to update
> to include it in the gwt package, or did I just not add the dependency
> correctly?
>
> Here's my error output when I run:
>         [ERROR] [scanlogistixclient] - Errors in 'jar:file:/D:/Program
> %20Files/eclipse/plugins/
> com.google.gwt.eclipse.sdkbundle.trunk.v20110304/gwt-0.0.0/gwt-
> user.jar!/com/google/gwt/editor/client/EditorDriver.java'
>                 [ERROR] [scanlogistixclient] - Line 97: No source code is 
> available
> for type javax.validation.ConstraintViolation<T>; did you forget to
> inherit a required module?
>         [ERROR] [scanlogistixclient] - Errors in 'jar:file:/D:/Program
> %20Files/eclipse/plugins/
> com.google.gwt.eclipse.sdkbundle.trunk.v20110304/gwt-0.0.0/gwt-
> user.jar!/com/google/gwt/editor/client/impl/BaseEditorDriver.java'
>                 [ERROR] [scanlogistixclient] - Line 67: No source code is 
> available
> for type javax.validation.ConstraintViolation<T>; did you forget to
> inherit a required module?
>         [ERROR] [scanlogistixclient] - Errors in 'jar:file:/D:/Program
> %20Files/eclipse/plugins/
> com.google.gwt.eclipse.sdkbundle.trunk.v20110304/gwt-0.0.0/gwt-
> user.jar!/com/google/gwt/editor/client/impl/SimpleViolation.java'
>                 [ERROR] [scanlogistixclient] - Line 40: No source code is 
> available
> for type javax.validation.ConstraintViolation<T>; did you forget to
> inherit a required module?
>         [ERROR] [scanlogistixclient] - Errors in 'jar:file:/D:/Program
> %20Files/eclipse/plugins/
> com.google.gwt.eclipse.sdkbundle.trunk.v20110304/gwt-0.0.0/gwt-
> user.jar!/com/google/gwt/editor/client/testing/
> MockSimpleBeanEditorDriver.java'
>                 [ERROR] [scanlogistixclient] - Line 108: No source code is 
> available
> for type javax.validation.ConstraintViolation<T>; did you forget to
> inherit a required module?
>         [ERROR] [scanlogistixclient] - Errors in 'jar:file:/D:/Program
> %20Files/eclipse/plugins/
> com.google.gwt.eclipse.sdkbundle.trunk.v20110304/gwt-0.0.0/gwt-
> user.jar!/javax/validation/super/javax/validation/Configuration.java'
>                 [ERROR] [scanlogistixclient] - Line 93: No source code is 
> available
> for type javax.validation.TraversableResolver; did you forget to
> inherit a required module?
>                 [ERROR] [scanlogistixclient] - Line 105: No source code is 
> available
> for type javax.validation.ConstraintValidatorFactory; did you forget
> to inherit a required module?
>                 [ERROR] [scanlogistixclient] - Line 202: No source code is 
> available
> for type javax.validation.ValidatorFactory; did you forget to inherit
> a required module?
>         [ERROR] [scanlogistixclient] - Errors in 'jar:file:/D:/Program
> %20Files/eclipse/plugins/
> com.google.gwt.eclipse.sdkbundle.trunk.v20110304/gwt-0.0.0/gwt-
> user.jar!/javax/validation/
> ConstraintViolationException_CustomFieldSerializer.java'
>                 [ERROR] [scanlogistixclient] - Line 30: No source code is 
> available
> for type javax.validation.ConstraintViolationException; did you forget
> to inherit a required module?
>                 [ERROR] [scanlogistixclient] - Line 39: No source code is 
> available
> for type javax.validation.ConstraintViolation<T>; did you forget to
> inherit a required module?
>         [ERROR] [scanlogistixclient] - Errors in 'jar:file:/D:/Program
> %20Files/eclipse/plugins/
> com.google.gwt.eclipse.sdkbundle.trunk.v20110304/gwt-0.0.0/gwt-
> user.jar!/javax/validation/super/javax/validation/
> MessageInterpolator.java'
>                 [ERROR] [scanlogistixclient] - Line 66: No source code is 
> available
> for type javax.validation.metadata.ConstraintDescriptor<T>; did you
> forget to inherit a required module?
>         [ERROR] [scanlogistixclient] - Errors in 'jar:file:/D:/Program
> %20Files/eclipse/plugins/
> com.google.gwt.eclipse.sdkbundle.trunk.v20110304/gwt-0.0.0/gwt-
> user.jar!/javax/validation/super/javax/validation/constraints/
> Pattern.java'
>                 [ERROR] [scanlogistixclient] - Line 75: No source code is 
> available
> for type javax.validation.Payload; did you forget to inherit a
> required module?
>         [ERROR] [scanlogistixclient] - Errors in 'jar:file:/D:/Program
> %20Files/eclipse/plugins/
> com.google.gwt.eclipse.sdkbundle.trunk.v20110304/gwt-0.0.0/gwt-
> user.jar!/javax/validation/super/javax/validation/spi/
> ConfigurationState.java'
>                 [ERROR] [scanlogistixclient] - Line 93: No source code is 
> available
> for type javax.validation.ConstraintValidatorFactory; did you forget
> to inherit a required module?
>                 [ERROR] [scanlogistixclient] - Line 107: No source code is 
> available
> for type javax.validation.TraversableResolver; did you forget to
> inherit a required module?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to