Trying VisualiationsForVaadin with the Eclipse Vaadin plugin for the first time and I’m having compile problem:
Compiling widgetset vortex.console.widgetset.Adminconsole2Widgetset
Updating GWT module description file...
Jun 8, 2011 5:34:20 PM com.vaadin.terminal.gwt.widgetsetutils.ClassPathExplorer getAvailableWidgetSets
INFO: Widgetsets found from classpath:
com.vaadin.terminal.gwt.DefaultWidgetSet in jar:file:/home/mcooper/ws/vortex/main/AdminConsole2/WebContent/WEB-INF/lib/vaadin-6.6.0.jar!/
org.vaadin.vaadinvisualizations.widgetset.VaadinvisualizationApplicationWidgetset in jar:file:/home/mcooper/ws/vortex/main/AdminConsole2/WebContent/WEB-INF/lib/VaadinVisualizations2.1.jar!/
vortex.console.widgetset.Adminconsole2Widgetset in file:/home/mcooper/ws/vortex/main/AdminConsole2/src
Jun 8, 2011 5:34:20 PM com.vaadin.terminal.gwt.widgetsetutils.ClassPathExplorer getAvailableWidgetSets
INFO: Search took 4ms
Done.
Starting GWT compiler
Compiling module vortex.console.widgetset.Adminconsole2Widgetset
Validating newly compiled units
[ERROR]
Errors in 'jar:file:/home/mcooper/ws/vortex/main/AdminConsole2/WebContent/WEB-INF/lib/VaadinVisualizations2.1.jar!/org/vaadin/vaadinvisualizations/widgetset/client/ui/VAreaChartImage.java'
[ERROR]
Line 9: The import com.google.gwt.visualization.client.visualizations.ImageAreaChart cannot be resolved
[ERROR]
Line 10: The import com.google.gwt.visualization.client.visualizations.ImageAreaChart cannot be resolved
[ERROR]
Line 29: ImageAreaChart cannot be resolved to a type
[ERROR]
Line 53: ImageAreaChart cannot be resolved to a type
[ERROR]
Line 54: ImageAreaChart cannot be resolved to a type
[ERROR]
Line 57: ImageAreaChart cannot be resolved to a type
[ERROR]
Line 57: ImageAreaChart cannot be resolved to a type
[ERROR]
Line 57: Options cannot be resolved to a type
[ERROR]
Line 60: ImageAreaChart cannot be resolved to a type
[ERROR]
Line 68: Options cannot be resolved to a type
[ERROR]
Line 71: Options cannot be resolved to a type
[ERROR]
Line 71: Options cannot be resolved
[ERROR]
Errors in 'jar:file:/home/mcooper/ws/vortex/main/AdminConsole2/WebContent/WEB-INF/lib/VaadinVisualizations2.1.jar!/org/vaadin/vaadinvisualizations/widgetset/client/ui/VBarChartImage.java'
[ERROR]
Line 9: The import com.google.gwt.visualization.client.visualizations.ImageBarChart cannot be resolved
[ERROR]
Line 10: The import com.google.gwt.visualization.client.visualizations.ImageBarChart cannot be resolved
....truncated....
I’m having this problem in our main project tree, but I reproduced this problem in a new Eclipse Vaadin project (used for the output in this posting).
In WebContent/WEB-INF/lib I have:
gwt-visualization.jar (version 1.0.2)
vaadin-6.6.0.jar
VaadinVisualizations2.1.jar
It seems like gwt-visualization.jar is not being included in the compile for some reason.
I’ve also tried gwt-visualization 1.1.0 - 1.1.2-rc2 and saw similar results but different missing classes:
Compiling widgetset org.vaadin.vaadinvisualizations.widgetset.VaadinvisualizationApplicationWidgetset
Updating GWT module description file...
Jun 8, 2011 6:09:39 PM com.vaadin.terminal.gwt.widgetsetutils.ClassPathExplorer getAvailableWidgetSets
INFO: Widgetsets found from classpath:
com.vaadin.terminal.gwt.DefaultWidgetSet in jar:file:/home/mcooper/ws/vortex/main/AdminConsole/WebContent/WEB-INF/lib/vaadin-6.6.0.jar!/
org.vaadin.vaadinvisualizations.widgetset.VaadinvisualizationApplicationWidgetset in file:/home/mcooper/ws/vortex/main/AdminConsole/src
Jun 8, 2011 6:09:39 PM com.vaadin.terminal.gwt.widgetsetutils.ClassPathExplorer getAvailableWidgetSets
INFO: Search took 6ms
Done.
Starting GWT compiler
Compiling module org.vaadin.vaadinvisualizations.widgetset.VaadinvisualizationApplicationWidgetset
Validating newly compiled units
[ERROR]
Errors in 'jar:file:/home/mcooper/ws/vortex/main/AdminConsole/WebContent/WEB-INF/lib/VaadinVisualizations2.1.jar!/org/vaadin/vaadinvisualizations/widgetset/client/ui/VAnnotatedTimeLine.java'
[ERROR]
Line 28: No source code is available for type com.google.gwt.visualization.client.visualizations.AnnotatedTimeLine; did you forget to inherit a required module?
[ERROR]
Line 39: No source code is available for type com.google.gwt.visualization.client.VisualizationUtils; did you forget to inherit a required module?
[ERROR]
Line 48: No source code is available for type com.google.gwt.visualization.client.AbstractDataTable; did you forget to inherit a required module?
[ERROR]
Line 48: No source code is available for type com.google.gwt.visualization.client.AbstractDrawOptions; did you forget to inherit a required module?
[ERROR]
Line 67: No source code is available for type com.google.gwt.visualization.client.visualizations.AnnotatedTimeLine.Options; did you forget to inherit a required module?
....truncated....