When I moved to Vaadin 6.6.6 everything went well. I noticed that the eclipse automatically downloaded GWT 2.3 jar files. The widgetset got auto compiled and no error found. (I have no widgets at this point.)
Then I download the vaadinckeditor.1.4.1.jar and put it in the web-inf/lib directory. The Vaadin plugin automatically prompt to compile and it runs into the following error:
Compiling widgetset com.tryout.ultimate_trace.widgetset.Ultimate_traceWidgetset
Updating GWT module description file…
Sep 23, 2011 12:13:15 PM com.vaadin.terminal.gwt.widgetsetutils.ClassPathExplorer getAvailableWidgetSets
INFO: Widgetsets found from classpath:
com.vaadin.terminal.gwt.DefaultWidgetSet in jar:file:C:/wutemp/workspace/ultimate-trace/WebContent/WEB-INF/lib/vaadin-6.6.6.jar!/
com.tryout.ultimate_trace.widgetset.Ultimate_traceWidgetset in file://C/wutemp/workspace/ultimate-trace/src
Sep 23, 2011 12:13:15 PM com.vaadin.terminal.gwt.widgetsetutils.ClassPathExplorer getAvailableWidgetSets
INFO: Search took 0ms
Done.
Starting GWT compiler
Compiling module com.tryout.ultimate_trace.widgetset.Ultimate_traceWidgetset
Validating newly compiled units
[ERROR]
Errors in ‘jar:file:/C:/eclipse/configuration/com.vaadin.integration.eclipse/download/gwt-user/2.3.0/gwt-user.jar!/com/google/gwt/editor/client/EditorDriver.java’
[ERROR]
Line 20: The import javax.validation.ConstraintViolation cannot be resolved
[ERROR]
Line 97: ConstraintViolation cannot be resolved to a type
[ERROR]
Errors in ‘jar:file:/C:/eclipse/configuration/com.vaadin.integration.eclipse/download/gwt-user/2.3.0/gwt-user.jar!/com/google/gwt/editor/client/impl/AbstractSimpleBeanEditorDriver.java’
[ERROR]
Line 28: Name clash: The method setConstraintViolations(Iterable<ConstraintViolation<?>>) of type BaseEditorDriver has the same erasure as setConstraintViolations(Iterable>) of type EditorDriver but does not override it
[ERROR]
Errors in ‘jar:file:/C:/eclipse/configuration/com.vaadin.integration.eclipse/download/gwt-user/2.3.0/gwt-user.jar!/com/google/gwt/editor/client/impl/BaseEditorDriver.java’
[ERROR]
Line 31: The import javax.validation.ConstraintViolation cannot be resolved
[ERROR]
Line 67: ConstraintViolation cannot be resolved to a type
[ERROR]
Errors in ‘jar:file:/C:/eclipse/configuration/com.vaadin.integration.eclipse/download/gwt-user/2.3.0/gwt-user.jar!/com/google/gwt/editor/client/impl/SimpleViolation.java’
[ERROR]
Line 25: The import javax.validation.ConstraintViolation cannot be resolved
[ERROR]
Line 40: ConstraintViolation cannot be resolved to a type
[ERROR]
Line 43: ConstraintViolation cannot be resolved to a type
[ERROR]
Line 44: Missing code implementation in the compiler
[ERROR]
Line 49: ConstraintViolation cannot be resolved to a type
[ERROR]
Line 49: Missing code implementation in the compiler
[ERROR]
Line 70: ConstraintViolation cannot be resolved to a type
[ERROR]
Line 72: ConstraintViolation cannot be resolved to a type
[ERROR]
Line 73: ConstraintViolation<?> cannot be resolved to a type
[ERROR]
Line 77: ConstraintViolation cannot be resolved to a type
[ERROR]
Line 81: ConstraintViolation<capture#3-of ?> cannot be resolved to a type
[ERROR]
Line 89: ConstraintViolation<capture#4-of ?> cannot be resolved to a type
[ERROR]
Line 93: ConstraintViolation<capture#5-of ?> cannot be resolved to a type
[ERROR]
Line 98: ConstraintViolation cannot be resolved to a type
[ERROR]
Errors in ‘jar:file:/C:/eclipse/configuration/com.vaadin.integration.eclipse/download/gwt-user/2.3.0/gwt-user.jar!/com/google/gwt/editor/client/testing/MockSimpleBeanEditorDriver.java’
[ERROR]
Line 26: The import javax.validation.ConstraintViolation cannot be resolved
[ERROR]
Line 35: The type MockSimpleBeanEditorDriver<T,E> must implement the inherited abstract method EditorDriver.setConstraintViolations(Iterable<ConstraintViolation<?>>)
[ERROR]
Line 107: Name clash: The method setConstraintViolations(Iterable>) of type MockSimpleBeanEditorDriver<T,E> has the same erasure as setConstraintViolations(Iterable<ConstraintViolation<?>>) of type EditorDriver but does not override it
[ERROR]
Line 108: ConstraintViolation cannot be resolved to a type
[ERROR]
Errors in ‘jar:file:/C:/eclipse/configuration/com.vaadin.integration.eclipse/download/gwt-user/2.3.0/gwt-user.jar!/javax/validation/super/javax/validation/Configuration.java’
[ERROR]
Line 93: TraversableResolver cannot be resolved to a type
[ERROR]
Line 105: ConstraintValidatorFactory cannot be resolved to a type
[ERROR]
Line 182: TraversableResolver cannot be resolved to a type
[ERROR]
Line 182: No source code is available for type TraversableResolver; did you forget to inherit a required module?
[ERROR]
Line 194: ConstraintValidatorFactory cannot be resolved to a type
[ERROR]
Line 194: No source code is available for type ConstraintValidatorFactory; did you forget to inherit a required module?
[ERROR]
Line 202: ValidatorFactory cannot be resolved to a type
[ERROR]
Line 202: No source code is available for type ValidatorFactory; did you forget to inherit a required module?
[ERROR]
Errors in ‘jar:file:/C:/eclipse/configuration/com.vaadin.integration.eclipse/download/gwt-user/2.3.0/gwt-user.jar!/javax/validation/ConstraintViolationException_CustomFieldSerializer.java’
[ERROR]
Line 30: ConstraintViolationException cannot be resolved to a type
[ERROR]
Line 34: ConstraintViolationException cannot be resolved to a type
[ERROR]
Line 34: No source code is available for type ConstraintViolationException; did you forget to inherit a required module?
[ERROR]
Line 39: ConstraintViolation cannot be resolved to a type
[ERROR]
Line 39: ConstraintViolation cannot be resolved to a type
[ERROR]
Line 40: ConstraintViolationException cannot be resolved to a type
[ERROR]
Line 44: ConstraintViolationException cannot be resolved to a type
[ERROR]
Errors in ‘jar:file:/C:/eclipse/configuration/com.vaadin.integration.eclipse/download/gwt-user/2.3.0/gwt-user.jar!/javax/validation/super/javax/validation/MessageInterpolator.java’
[ERROR]
Line 21: The import javax.validation.metadata cannot be resolved
[ERROR]
Line 66: ConstraintDescriptor cannot be resolved to a type
[ERROR]
Errors in ‘jar:file:/C:/eclipse/configuration/com.vaadin.integration.eclipse/download/gwt-user/2.3.0/gwt-user.jar!/javax/validation/super/javax/validation/constraints/Pattern.java’
[ERROR]
Line 30: The import javax.validation.Constraint cannot be resolved
[ERROR]
Line 31: The import javax.validation.Payload cannot be resolved
[ERROR]
Line 49: Constraint cannot be resolved to a type
[ERROR]
Line 49: The attribute validatedBy is undefined for the annotation type Constraint
[ERROR]
Line 75: Payload cannot be resolved to a type
[ERROR]
Errors in ‘jar:file:/C:/eclipse/configuration/com.vaadin.integration.eclipse/download/gwt-user/2.3.0/gwt-user.jar!/javax/validation/super/javax/validation/spi/ConfigurationState.java’
[ERROR]
Line 22: The import javax.validation.ConstraintValidatorFactory cannot be resolved
[ERROR]
Line 24: The import javax.validation.TraversableResolver cannot be resolved
[ERROR]
Line 93: ConstraintValidatorFactory cannot be resolved to a type
[ERROR]
Line 107: TraversableResolver cannot be resolved to a type
Computing all possible rebind results for ‘com.google.gwt.user.client.UserAgentAsserter’
Rebinding com.google.gwt.user.client.UserAgentAsserter
Checking rule
[WARN]
Detected warnings related to ‘com.google.gwt.editor.client.SimpleBeanEditorDriver’. Are validation-api-.jar and validation-api--sources.jar on the classpath?
[WARN]
Unknown type ‘com.google.gwt.editor.client.SimpleBeanEditorDriver’ specified in deferred binding rule
Sep 23, 2011 12:13:30 PM com.vaadin.terminal.gwt.widgetsetutils.ClassPathExplorer getPaintablesHavingWidgetAnnotation
INFO: Searching for paintables…
Sep 23, 2011 12:13:32 PM com.vaadin.terminal.gwt.widgetsetutils.ClassPathExplorer getPaintablesHavingWidgetAnnotation
INFO: Search took 1186ms
Widgetset compilation completed
The weird thing is that even after I remove the CKeditor jar files, the widget set compiler still runs and have the same error.
I really want CKeditor. What should I do?
Please help.
Jason.