Hi Tom,

Sounds like you're running an app that uses RequestFactory, which requires
additional 3rd party dependencies on the server. These are available in
gwt-servlet-deps.jar which you'll find in the gwt-0.0.0 dir. You just need
to add it to your classpath.

If you're using Maven, the Expenses sample POM includes these for you.

By the way, the gwt-0.0.0 numbering is correct if you're building from trunk
or the release branch, which hasn't been released yet.

/dmc

On Fri, Mar 25, 2011 at 1:19 PM, Tom K. <radi...@gmail.com> wrote:

> I've downloaded both the main trunk version as well as the build under
> releases/2.3, and both seem to have the same problem.  I can get
> everything built OK, and I'm not showing any errors in the output from
> the build.  When the build is complete, for some reason it labels the
> final packaged build as gwt-0.0.0 (it does this using both the 2.3
> release build as well as trunk).  Everything seems to be fine and I
> can deploy everything OK, up until I try and access my GWT app.  When
> I do, I get pages of errors because the import
> javax.validation.ConstraintValidation cannot be resolved.  I've tried
> to figure out the numerous build scripts to figure out why this import
> isn't included in my jar, but to no avail.  Can anyone help me figure
> out what I might be missing?  This is my error log when I run my app:
>
>
> [DEBUG] [scanlogistixclient] - Validating newly compiled units
>        [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 20: The import
> javax.validation.ConstraintViolation cannot be resolved
>                [ERROR] [scanlogistixclient] - Line 97: ConstraintViolation
> cannot
> be resolved to a type
>        [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/
> AbstractSimpleBeanEditorDriver.java'
>                [ERROR] [scanlogistixclient] - Line 28: Name clash: The
> method
> setConstraintViolations(Iterable<ConstraintViolation<?>>) of type
> BaseEditorDriver<T,E> has the same erasure as
> setConstraintViolations(Iterable<ConstraintViolation<?>>) of type
> EditorDriver<T> but does not override it
>        [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 31: The import
> javax.validation.ConstraintViolation cannot be resolved
>                [ERROR] [scanlogistixclient] - Line 67: ConstraintViolation
> cannot
> be resolved to a type
>        [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 25: The import
> javax.validation.ConstraintViolation cannot be resolved
>                [ERROR] [scanlogistixclient] - Line 40: ConstraintViolation
> cannot
> be resolved to a type
>                [ERROR] [scanlogistixclient] - Line 43: ConstraintViolation
> cannot
> be resolved to a type
>                [ERROR] [scanlogistixclient] - Line 44: Missing code
> implementation
> in the compiler
>                [ERROR] [scanlogistixclient] - Line 49: ConstraintViolation
> cannot
> be resolved to a type
>                [ERROR] [scanlogistixclient] - Line 49: Missing code
> implementation
> in the compiler
>                [ERROR] [scanlogistixclient] - Line 70: ConstraintViolation
> cannot
> be resolved to a type
>                [ERROR] [scanlogistixclient] - Line 72: ConstraintViolation
> cannot
> be resolved to a type
>                [ERROR] [scanlogistixclient] - Line 73:
> ConstraintViolation<?>
> cannot be resolved to a type
>                [ERROR] [scanlogistixclient] - Line 77:
> ConstraintViolation<capture#2-of ?> cannot be resolved to a type
>                [ERROR] [scanlogistixclient] - Line 81:
> ConstraintViolation<capture#3-of ?> cannot be resolved to a type
>                [ERROR] [scanlogistixclient] - Line 89:
> ConstraintViolation<capture#4-of ?> cannot be resolved to a type
>                [ERROR] [scanlogistixclient] - Line 93:
> ConstraintViolation<capture#5-of ?> cannot be resolved to a type
>                [ERROR] [scanlogistixclient] - Line 98: ConstraintViolation
> cannot
> be resolved to a type
>        [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 26: The import
> javax.validation.ConstraintViolation cannot be resolved
>                [ERROR] [scanlogistixclient] - Line 35: The type
> MockSimpleBeanEditorDriver<T,E> must implement the inherited abstract
> method
> EditorDriver<T>.setConstraintViolations(Iterable<ConstraintViolation<?
> >>)
>                [ERROR] [scanlogistixclient] - Line 107: Name clash: The
> method
> setConstraintViolations(Iterable<ConstraintViolation<?>>) of type
> MockSimpleBeanEditorDriver<T,E> has the same erasure as
> setConstraintViolations(Iterable<ConstraintViolation<?>>) of type
> EditorDriver<T> but does not override it
>                [ERROR] [scanlogistixclient] - Line 108: ConstraintViolation
> cannot
> be resolved to a type
>        [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: TraversableResolver
> cannot
> be resolved to a type
>                [ERROR] [scanlogistixclient] - Line 105:
> ConstraintValidatorFactory
> cannot be resolved to a type
>                [ERROR] [scanlogistixclient] - Line 182: TraversableResolver
> cannot
> be resolved to a type
>                [ERROR] [scanlogistixclient] - Line 182: No source code is
> available
> for type TraversableResolver; did you forget to inherit a required
> module?
>                [ERROR] [scanlogistixclient] - Line 194:
> ConstraintValidatorFactory
> cannot be resolved to a type
>                [ERROR] [scanlogistixclient] - Line 194: No source code is
> available
> for type ConstraintValidatorFactory; did you forget to inherit a
> required module?
>                [ERROR] [scanlogistixclient] - Line 202: ValidatorFactory
> cannot be
> resolved to a type
>                [ERROR] [scanlogistixclient] - Line 202: No source code is
> available
> for type 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:
> ConstraintViolationException
> cannot be resolved to a type
>                [ERROR] [scanlogistixclient] - Line 34:
> ConstraintViolationException
> cannot be resolved to a type
>                [ERROR] [scanlogistixclient] - Line 34: No source code is
> available
> for type ConstraintViolationException; did you forget to inherit a
> required module?
>                [ERROR] [scanlogistixclient] - Line 39: ConstraintViolation
> cannot
> be resolved to a type
>                [ERROR] [scanlogistixclient] - Line 39: ConstraintViolation
> cannot
> be resolved to a type
>                [ERROR] [scanlogistixclient] - Line 40:
> ConstraintViolationException
> cannot be resolved to a type
>                [ERROR] [scanlogistixclient] - Line 44:
> ConstraintViolationException
> cannot be resolved to a type
>        [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 21: The import
> javax.validation.metadata cannot be resolved
>                [ERROR] [scanlogistixclient] - Line 66: ConstraintDescriptor
> cannot
> be resolved to a type
>        [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 30: The import
> javax.validation.Constraint cannot be resolved
>                [ERROR] [scanlogistixclient] - Line 31: The import
> javax.validation.Payload cannot be resolved
>                [ERROR] [scanlogistixclient] - Line 49: Constraint cannot be
> resolved to a type
>                [ERROR] [scanlogistixclient] - Line 49: The attribute
> validatedBy is
> undefined for the annotation type Constraint
>                [ERROR] [scanlogistixclient] - Line 75: Payload cannot be
> resolved
> to a type
>        [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 22: The import
> javax.validation.ConstraintValidatorFactory cannot be resolved
>                [ERROR] [scanlogistixclient] - Line 24: The import
> javax.validation.TraversableResolver cannot be resolved
>                [ERROR] [scanlogistixclient] - Line 93:
> ConstraintValidatorFactory
> cannot be resolved to a type
>                [ERROR] [scanlogistixclient] - Line 107: TraversableResolver
> cannot
> be resolved to a type
> [DEBUG] [scanlogistixclient] - Rebinding
> com.google.gwt.core.client.impl.SchedulerImpl
>        [DEBUG] [scanlogistixclient] - Checking rule <generate-with
> class='com.google.gwt.editor.rebind.SimpleBeanEditorDriverGenerator'/>
>                [WARN] [scanlogistixclient] - Unknown type
> 'com.google.gwt.editor.client.SimpleBeanEditorDriver' specified in
> deferred binding rule
> [DEBUG] [scanlogistixclient] - Rebinding
> com.google.gwt.user.client.UserAgentAsserter
>        [DEBUG] [scanlogistixclient] - Checking rule <generate-with
> class='com.google.gwt.editor.rebind.SimpleBeanEditorDriverGenerator'/>
>                [WARN] [scanlogistixclient] - Unknown type
> 'com.google.gwt.editor.client.SimpleBeanEditorDriver' specified in
> deferred binding rule
> [DEBUG] [scanlogistixclient] - Rebinding
> com.google.gwt.user.client.UserAgentAsserter.UserAgentProperty
>        [DEBUG] [scanlogistixclient] - Checking rule <generate-with
> class='com.google.gwt.editor.rebind.SimpleBeanEditorDriverGenerator'/>
>                [WARN] [scanlogistixclient] - Unknown type
> 'com.google.gwt.editor.client.SimpleBeanEditorDriver' specified in
> deferred binding rule
> [DEBUG] [scanlogistixclient] - Rebinding
> com.allen_sauer.gwt.dnd.client.util.DragEntryPoint
>        [DEBUG] [scanlogistixclient] - Checking rule <generate-with
> class='com.google.gwt.editor.rebind.SimpleBeanEditorDriverGenerator'/>
>                [WARN] [scanlogistixclient] - Unknown type
> 'com.google.gwt.editor.client.SimpleBeanEditorDriver' specified in
> deferred binding rule
> [DEBUG] [scanlogistixclient] - Rebinding
> com.scanlogistix.webapp.client.ScanLogistixClient
>        [DEBUG] [scanlogistixclient] - Checking rule <generate-with
> class='com.google.gwt.editor.rebind.SimpleBeanEditorDriverGenerator'/>
>                [WARN] [scanlogistixclient] - Unknown type
> 'com.google.gwt.editor.client.SimpleBeanEditorDriver' specified in
> deferred binding rule
> [DEBUG] [scanlogistixclient] - Rebinding
> com.google.gwt.user.client.ui.UIObject.DebugIdImpl
>        [DEBUG] [scanlogistixclient] - Checking rule <generate-with
> class='com.google.gwt.editor.rebind.SimpleBeanEditorDriverGenerator'/>
>                [WARN] [scanlogistixclient] - Unknown type
> 'com.google.gwt.editor.client.SimpleBeanEditorDriver' specified in
> deferred binding rule
> [DEBUG] [scanlogistixclient] - Rebinding
> com.google.gwt.dom.client.DOMImpl
>        [DEBUG] [scanlogistixclient] - Checking rule <generate-with
> class='com.google.gwt.editor.rebind.SimpleBeanEditorDriverGenerator'/>
>                [WARN] [scanlogistixclient] - Unknown type
> 'com.google.gwt.editor.client.SimpleBeanEditorDriver' specified in
> deferred binding rule
> [DEBUG] [scanlogistixclient] - Rebinding
> com.google.gwt.i18n.client.BidiPolicy.BidiPolicyImpl
>        [DEBUG] [scanlogistixclient] - Checking rule <generate-with
> class='com.google.gwt.editor.rebind.SimpleBeanEditorDriverGenerator'/>
>                [WARN] [scanlogistixclient] - Unknown type
> 'com.google.gwt.editor.client.SimpleBeanEditorDriver' specified in
> deferred binding rule
> [DEBUG] [scanlogistixclient] - Rebinding
> com.google.gwt.user.client.ui.ScrollPanel.Impl
>        [DEBUG] [scanlogistixclient] - Checking rule <generate-with
> class='com.google.gwt.editor.rebind.SimpleBeanEditorDriverGenerator'/>
>                [WARN] [scanlogistixclient] - Unknown type
> 'com.google.gwt.editor.client.SimpleBeanEditorDriver' specified in
> deferred binding rule
> [DEBUG] [scanlogistixclient] - Rebinding
> com.google.gwt.event.dom.client.TouchEvent.TouchSupportDetector
>        [DEBUG] [scanlogistixclient] - Checking rule <generate-with
> class='com.google.gwt.editor.rebind.SimpleBeanEditorDriverGenerator'/>
>                [WARN] [scanlogistixclient] - Unknown type
> 'com.google.gwt.editor.client.SimpleBeanEditorDriver' specified in
> deferred binding rule
> [DEBUG] [scanlogistixclient] - Rebinding
> com.google.gwt.dom.client.StyleInjector.StyleInjectorImpl
>        [DEBUG] [scanlogistixclient] - Checking rule <generate-with
> class='com.google.gwt.editor.rebind.SimpleBeanEditorDriverGenerator'/>
>                [WARN] [scanlogistixclient] - Unknown type
> 'com.google.gwt.editor.client.SimpleBeanEditorDriver' specified in
> deferred binding rule
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>


-- 
David Chandler
Developer Programs Engineer, Google Web Toolkit
w: http://code.google.com/
b: http://googlewebtoolkit.blogspot.com/
t: @googledevtools

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

Reply via email to