I'm trying to evaluate bean validation for my project. For that
purpose I checked out gwt and tools trunk and build gwt from source.
The problem is that when using the builded gwt I receive plenty or
errors.

I would like to know if someone has managed to use bean validation in
a project or whether I'm doing something wrong.

In case it may be useful, the first errors I see are:

        [ERROR] [noah] - Errors in 'file:/C:/Workspace/Workspaces/workspace-
sts-2.5.0.RELEASE/noah/src/main/java/com/amindea/noah/client/handler/
TaskHandler.java'
                [ERROR] [noah] - Line 97: No source code is available for type
javax.validation.Validator; did you forget to inherit a required
module?
                [ERROR] [noah] - Line 98: No source code is available for type
javax.validation.ConstraintViolation<T>; did you forget to inherit a
required module?
        [ERROR] [noah] - Errors in 'file:/C:/Workspace/Workspaces/workspace-
sts-2.5.0.RELEASE/noah/src/main/java/com/amindea/noah/client/model/
validation/NoahValidatorFactory.java'
                [ERROR] [noah] - Line 19: No source code is available for type
javax.validation.Validator; did you forget to inherit a required
module?
        [ERROR] [noah] - Errors in 'jar:file:/C:/Workspace/Frameworks/google-
web-toolkit/build/staging/gwt-0.0.0/gwt-user.jar!/com/google/gwt/dom/
client/DOMImplWebkit.java'
                [ERROR] [noah] - Line 44: The method setDraggable(Element, 
String)
of type DOMImplWebkit must override or implement a supertype method
                [ERROR] [noah] - Line 45: The method setDraggable(Element, 
String)
is undefined for the type DOMImplStandardBase
        [ERROR] [noah] - Errors in 'jar:file:/C:/Workspace/Frameworks/google-
web-toolkit/build/staging/gwt-0.0.0/gwt-user.jar!/com/google/gwt/
editor/client/EditorDriver.java'
                [ERROR] [noah] - Line 97: No source code is available for type
javax.validation.ConstraintViolation<T>; did you forget to inherit a
required module?
        [ERROR] [noah] - Errors in 'jar:file:/C:/Workspace/Frameworks/google-
web-toolkit/build/staging/gwt-0.0.0/gwt-user.jar!/com/google/gwt/
editor/client/impl/AbstractEditorContext.java'
                [ERROR] [noah] - Line 92: The method
addSubDelegate(AbstractEditorDelegate, String, Editor<capture#16-of ?
>) is undefined for the type AbstractEditorDelegate<T,capture#15-of ?>
                [ERROR] [noah] - Line 93: The method getEditorChain() is 
undefined
for the type AbstractEditorDelegate<T,capture#17-of ?>
                [ERROR] [noah] - Line 129: The method accept(EditorVisitor) is
undefined for the type AbstractEditorDelegate<capture#23-
of ?,capture#24-of ?>
        [ERROR] [noah] - Errors in 'jar:file:/C:/Workspace/Frameworks/google-
web-toolkit/build/staging/gwt-0.0.0/gwt-user.jar!/com/google/gwt/
editor/client/impl/BaseEditorDriver.java'
                [ERROR] [noah] - Line 67: No source code is available for type
javax.validation.ConstraintViolation<T>; did you forget to inherit a
required module?
                [ERROR] [noah] - Line 82: The method initialize(String, T, E,
DelegateMap) in the type AbstractEditorDelegate<T,E> is not applicable
for the arguments (String, E)
        [ERROR] [noah] - Errors in 'jar:file:/C:/Workspace/Frameworks/google-
web-toolkit/build/staging/gwt-0.0.0/gwt-user.jar!/com/google/gwt/
editor/client/impl/DirtCollector.java'
                [ERROR] [noah] - Line 38: The method isDirty() is undefined for 
the
type AbstractEditorDelegate<T,capture#3-of ?>
        [ERROR] [noah] - Errors in 'jar:file:/C:/Workspace/Frameworks/google-
web-toolkit/build/staging/gwt-0.0.0/gwt-user.jar!/com/google/gwt/
editor/client/impl/ErrorCollector.java'
                [ERROR] [noah] - Line 48: The method getErrors() is undefined 
for
the type AbstractEditorDelegate<capture#5-of ?,capture#6-of ?>
        [ERROR] [noah] - Errors in 'jar:file:/C:/Workspace/Frameworks/google-
web-toolkit/build/staging/gwt-0.0.0/gwt-user.jar!/com/google/gwt/
editor/client/impl/Initializer.java'
                [ERROR] [noah] - Line 45: The method getEditorChain() is 
undefined
for the type AbstractEditorDelegate<Q,capture#7-of ?>
        [ERROR] [noah] - Errors in 'jar:file:/C:/Workspace/Frameworks/google-
web-toolkit/build/staging/gwt-0.0.0/gwt-user.jar!/com/google/gwt/
editor/client/impl/Refresher.java'
                [ERROR] [noah] - Line 35: The method setDirty(boolean) is 
undefined
for the type AbstractEditorDelegate<Q,capture#5-of ?>
        [ERROR] [noah] - Errors in 'jar:file:/C:/Workspace/Frameworks/google-
web-toolkit/build/staging/gwt-0.0.0/gwt-user.jar!/com/google/gwt/
editor/client/impl/SimpleViolation.java'
                [ERROR] [noah] - Line 40: No source code is available for type
javax.validation.ConstraintViolation<T>; did you forget to inherit a
required module?
                [ERROR] [noah] - Line 112: The method 
of(EditorDriver<capture#8-of ?
>, DelegateMap.KeyMethod) is undefined for the type DelegateMap
                [ERROR] [noah] - Line 131: The method 
getDelegatesByPath(String) is
undefined for the type DelegateMap
                [ERROR] [noah] - Line 132: The method getEditorByPath(String) is
undefined for the type DelegateMap
                [ERROR] [noah] - Line 141: The method recordError(String, 
Object,
Object, String) in the type AbstractEditorDelegate<capture#13-
of ?,capture#14-of ?> is not applicable for the arguments (String,
null, Object, String, Editor<capture#15-of ?>)
        [ERROR] [noah] - Errors in 'jar:file:/C:/Workspace/Frameworks/google-
web-toolkit/build/staging/gwt-0.0.0/gwt-user.jar!/com/google/gwt/event/
dom/client/DragDropEventBase.java'
                [ERROR] [noah] - Line 98: The method getDataTransfer() is 
undefined
for the type NativeEvent

-- 
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