Important Notice - Forums is archived
To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

TUTORIALVaadin lets you build secure, UX-first PWAs entirely in Java.
Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
Calling javascript synchronously by Enver Haase, 2 weeks ago
Cannot compile VisualizationsForVaadin
Hi,
I have troubles with the VisualizationsForVaadin addin VisualizationsForVaadin
I build with Maven and other addons are working correctly.
<dependency>
<groupId>org.vaadin.addons</groupId>
<artifactId>visualizationsforvaadin</artifactId>
<version>1.1.2</version>
</dependency>
<dependency>
<groupId>com.google.gwt.google-apis</groupId>
<artifactId>gwt-visualization</artifactId>
<version>1.0.2</version>
</dependency>
But I get the following errors:
[INFO] [ERROR] Errors in 'jar:file:/Users/dannyroest/.m2/repository/org/vaadin/addons/visualizationsforvaadin/1.1.2/visualizationsforvaadin-1.1.2.jar!/org/vaadin/vaadinvisualizations/widgetset/client/ui/VAreaChartImage.java'
[INFO] [ERROR] Line 9: The import com.google.gwt.visualization.client.visualizations.ImageAreaChart cannot be resolved
[INFO] [ERROR] Line 10: The import com.google.gwt.visualization.client.visualizations.ImageAreaChart cannot be resolved
[INFO] [ERROR] Line 29: ImageAreaChart cannot be resolved to a type
[INFO] [ERROR] Line 53: ImageAreaChart cannot be resolved to a type
[INFO] [ERROR] Line 54: ImageAreaChart cannot be resolved to a type
[INFO] [ERROR] Line 57: ImageAreaChart cannot be resolved to a type
[INFO] [ERROR] Line 57: ImageAreaChart cannot be resolved to a type
[INFO] [ERROR] Line 57: Options cannot be resolved to a type
[INFO] [ERROR] Line 60: ImageAreaChart cannot be resolved to a type
[INFO] [ERROR] Line 68: Options cannot be resolved to a type
[INFO] [ERROR] Line 71: Options cannot be resolved to a type
[INFO] [ERROR] Line 71: Options cannot be resolved
[INFO] [ERROR] Errors in 'jar:file:/Users/dannyroest/.m2/repository/org/vaadin/addons/visualizationsforvaadin/1.1.2/visualizationsforvaadin-1.1.2.jar!/org/vaadin/vaadinvisualizations/widgetset/client/ui/VBarChartImage.java'
[INFO] [ERROR] Line 9: The import com.google.gwt.visualization.client.visualizations.ImageBarChart cannot be resolved
[INFO] [ERROR] Line 10: The import com.google.gwt.visualization.client.visualizations.ImageBarChart cannot be resolved
[INFO] [ERROR] Line 28: ImageBarChart cannot be resolved to a type
[INFO] [ERROR] Line 52: ImageBarChart cannot be resolved to a type
[INFO] [ERROR] Line 53: ImageBarChart cannot be resolved to a type
[INFO] [ERROR] Line 56: ImageBarChart cannot be resolved to a type
[INFO] [ERROR] Line 56: ImageBarChart cannot be resolved to a type
[INFO] [ERROR] Line 56: Options cannot be resolved to a type
[INFO] [ERROR] Line 59: ImageBarChart cannot be resolved to a type
[INFO] [ERROR] Line 67: Options cannot be resolved to a type
[INFO] [ERROR] Line 70: Options cannot be resolved to a type
[INFO] [ERROR] Line 70: Options cannot be resolved
[INFO] [ERROR] Errors in 'jar:file:/Users/dannyroest/.m2/repository/org/vaadin/addons/visualizationsforvaadin/1.1.2/visualizationsforvaadin-1.1.2.jar!/org/vaadin/vaadinvisualizations/widgetset/client/ui/VImageChart.java'
[INFO] [ERROR] Line 11: The import com.google.gwt.visualization.client.visualizations.ImageChart cannot be resolved
[INFO] [ERROR] Line 12: The import com.google.gwt.visualization.client.visualizations.ImageChart cannot be resolved
[INFO] [ERROR] Line 31: ImageChart cannot be resolved to a type
[INFO] [ERROR] Line 56: ImageChart cannot be resolved to a type
[INFO] [ERROR] Line 57: ImageChart cannot be resolved to a type
[INFO] [ERROR] Line 60: ImageChart cannot be resolved to a type
[INFO] [ERROR] Line 60: ImageChart cannot be resolved to a type
[INFO] [ERROR] Line 60: Options cannot be resolved to a type
[INFO] [ERROR] Line 64: ImageChart cannot be resolved to a type
[INFO] [ERROR] Line 72: Options cannot be resolved to a type
[INFO] [ERROR] Line 75: Options cannot be resolved to a type
[INFO] [ERROR] Line 75: Options cannot be resolved
[INFO] [ERROR] Line 83: ImageChart cannot be resolved to a type
[INFO] [ERROR] Line 84: ImageChart cannot be resolved to a type
[INFO] [ERROR] Line 84: The method createOptions() from the type VImageChart refers to the missing type Options
[INFO] [ERROR] Errors in 'jar:file:/Users/dannyroest/.m2/repository/org/vaadin/addons/visualizationsforvaadin/1.1.2/visualizationsforvaadin-1.1.2.jar!/org/vaadin/vaadinvisualizations/widgetset/client/ui/VLineChartImage.java'
[INFO] [ERROR] Line 9: The import com.google.gwt.visualization.client.visualizations.ImageLineChart cannot be resolved
[INFO] [ERROR] Line 10: The import com.google.gwt.visualization.client.visualizations.ImageLineChart cannot be resolved
[INFO] [ERROR] Line 28: ImageLineChart cannot be resolved to a type
[INFO] [ERROR] Line 52: ImageLineChart cannot be resolved to a type
[INFO] [ERROR] Line 53: ImageLineChart cannot be resolved to a type
[INFO] [ERROR] Line 56: ImageLineChart cannot be resolved to a type
[INFO] [ERROR] Line 56: ImageLineChart cannot be resolved to a type
[INFO] [ERROR] Line 56: Options cannot be resolved to a type
[INFO] [ERROR] Line 59: ImageLineChart cannot be resolved to a type
[INFO] [ERROR] Line 67: Options cannot be resolved to a type
[INFO] [ERROR] Line 70: Options cannot be resolved to a type
[INFO] [ERROR] Line 70: Options cannot be resolved
[INFO] [ERROR] Errors in 'jar:file:/Users/dannyroest/.m2/repository/org/vaadin/addons/visualizationsforvaadin/1.1.2/visualizationsforvaadin-1.1.2.jar!/org/vaadin/vaadinvisualizations/widgetset/client/ui/VPieChartImage.java'
[INFO] [ERROR] Line 9: The import com.google.gwt.visualization.client.visualizations.ImagePieChart cannot be resolved
[INFO] [ERROR] Line 10: The import com.google.gwt.visualization.client.visualizations.ImagePieChart cannot be resolved
[INFO] [ERROR] Line 30: ImagePieChart cannot be resolved to a type
[INFO] [ERROR] Line 54: ImagePieChart cannot be resolved to a type
[INFO] [ERROR] Line 55: ImagePieChart cannot be resolved to a type
[INFO] [ERROR] Line 58: ImagePieChart cannot be resolved to a type
[INFO] [ERROR] Line 58: ImagePieChart cannot be resolved to a type
[INFO] [ERROR] Line 58: Options cannot be resolved to a type
[INFO] [ERROR] Line 61: ImagePieChart cannot be resolved to a type
[INFO] [ERROR] Line 69: Options cannot be resolved to a type
[INFO] [ERROR] Line 72: Options cannot be resolved to a type
[INFO] [ERROR] Line 72: Options cannot be resolved
[INFO] [ERROR] Errors in 'jar:file:/Users/dannyroest/.m2/repository/org/vaadin/addons/visualizationsforvaadin/1.1.2/visualizationsforvaadin-1.1.2.jar!/org/vaadin/vaadinvisualizations/widgetset/client/ui/VSparklineImage.java'
[INFO] [ERROR] Line 9: The import com.google.gwt.visualization.client.visualizations.ImageSparklineChart cannot be resolved
[INFO] [ERROR] Line 10: The import com.google.gwt.visualization.client.visualizations.ImageSparklineChart cannot be resolved
[INFO] [ERROR] Line 28: ImageSparklineChart cannot be resolved to a type
[INFO] [ERROR] Line 52: ImageSparklineChart cannot be resolved to a type
[INFO] [ERROR] Line 53: ImageSparklineChart cannot be resolved to a type
[INFO] [ERROR] Line 56: ImageSparklineChart cannot be resolved to a type
[INFO] [ERROR] Line 56: ImageSparklineChart cannot be resolved to a type
[INFO] [ERROR] Line 56: Options cannot be resolved to a type
[INFO] [ERROR] Line 59: ImageSparklineChart cannot be resolved to a type
[INFO] [ERROR] Line 67: Options cannot be resolved to a type
[INFO] [ERROR] Line 70: Options cannot be resolved to a type
[INFO] [ERROR] Line 70: Options cannot be resolved
[INFO] [ERROR] Errors in 'jar:file:/Users/dannyroest/.m2/repository/org/vaadin/addons/visualizationsforvaadin/1.1.2/visualizationsforvaadin-1.1.2.jar!/org/vaadin/vaadinvisualizations/widgetset/client/ui/VTable.java'
[INFO] [ERROR] Line 78: The method setHeight(String) is undefined for the type Table.Options
[INFO] [ERROR] Line 79: The method setWidth(String) is undefined for the type Table.Options
[INFO] [ERROR] Errors in 'jar:file:/Users/dannyroest/.m2/repository/org/vaadin/addons/visualizationsforvaadin/1.1.2/visualizationsforvaadin-1.1.2.jar!/org/vaadin/vaadinvisualizations/widgetset/client/ui/VVisualizationWidget.java'
[INFO] [ERROR] Line 17: The import com.google.gwt.visualization.client.visualizations.ImageChart cannot be resolved
[INFO] [ERROR] Line 251: The method set(String, boolean) is undefined for the type AbstractDrawOptions
[INFO] [ERROR] Line 254: The method set(String, Double) is undefined for the type AbstractDrawOptions
[INFO] [ERROR] Line 257: The method set(String, double) is undefined for the type AbstractDrawOptions
[INFO] [ERROR] Line 261: The method set(String, String) is undefined for the type AbstractDrawOptions
...
[INFO] [WARN] Widget class org.vaadin.vaadinvisualizations.widgetset.client.ui.VGauge was not found. The component org.vaadin.vaadinvisualizations.Gauge will not be included in the widgetset.
[INFO] [WARN] Widget class org.vaadin.vaadinvisualizations.widgetset.client.ui.VTable was not found. The component org.vaadin.vaadinvisualizations.Table will not be included in the widgetset.
[INFO] [WARN] Widget class org.vaadin.vaadinvisualizations.widgetset.client.ui.VAnnotatedTimeLine was not found. The component org.vaadin.vaadinvisualizations.AnnotatedTimeLine will not be included in the widgetset.
[INFO] [WARN] Widget class org.vaadin.vaadinvisualizations.widgetset.client.ui.VGeoMap was not found. The component org.vaadin.vaadinvisualizations.GeoMap will not be included in the widgetset.
[INFO] [WARN] Widget class org.vaadin.vaadinvisualizations.widgetset.client.ui.VImageChart was not found. The component org.vaadin.vaadinvisualizations.ImageChart will not be included in the widgetset.
[INFO] [WARN] Widget class org.vaadin.vaadinvisualizations.widgetset.client.ui.VIntensityMap was not found. The component org.vaadin.vaadinvisualizations.IntensityMap will not be included in the widgetset.
[INFO] [WARN] Widget class org.vaadin.vaadinvisualizations.widgetset.client.ui.VAreaChart was not found. The component org.vaadin.vaadinvisualizations.AreaChart will not be included in the widgetset.
[INFO] [WARN] Widget class org.vaadin.vaadinvisualizations.widgetset.client.ui.VAreaChartImage was not found. The component org.vaadin.vaadinvisualizations.AreaChartImage will not be included in the widgetset.
[INFO] [WARN] Widget class org.vaadin.vaadinvisualizations.widgetset.client.ui.VBarChart was not found. The component org.vaadin.vaadinvisualizations.BarChart will not be included in the widgetset.
[INFO] [WARN] Widget class org.vaadin.vaadinvisualizations.widgetset.client.ui.VColumnChart was not found. The component org.vaadin.vaadinvisualizations.ColumnChart will not be included in the widgetset.
[INFO] [WARN] Widget class org.vaadin.vaadinvisualizations.widgetset.client.ui.VBarChartImage was not found. The component org.vaadin.vaadinvisualizations.BarChartImage will not be included in the widgetset.
[INFO] [WARN] Widget class org.vaadin.vaadinvisualizations.widgetset.client.ui.VSparklineImage was not found. The component org.vaadin.vaadinvisualizations.SparklineImage will not be included in the widgetset.
[INFO] [WARN] Widget class org.vaadin.vaadinvisualizations.widgetset.client.ui.VMotionChart was not found. The component org.vaadin.vaadinvisualizations.MotionChart will not be included in the widgetset.
[INFO] [WARN] Widget class org.vaadin.vaadinvisualizations.widgetset.client.ui.VMap was not found. The component org.vaadin.vaadinvisualizations.Map will not be included in the widgetset.
[INFO] [WARN] Widget class org.vaadin.vaadinvisualizations.widgetset.client.ui.VLineChart was not found. The component org.vaadin.vaadinvisualizations.LineChart will not be included in the widgetset.
[INFO] [WARN] Widget class org.vaadin.vaadinvisualizations.widgetset.client.ui.VPieChart was not found. The component org.vaadin.vaadinvisualizations.PieChart will not be included in the widgetset.
[INFO] [WARN] Widget class org.vaadin.vaadinvisualizations.widgetset.client.ui.VScatterChart was not found. The component org.vaadin.vaadinvisualizations.ScatterChart will not be included in the widgetset.
[INFO] [WARN] Widget class org.vaadin.vaadinvisualizations.widgetset.client.ui.VOrganizationalChart was not found. The component org.vaadin.vaadinvisualizations.OrganizationalChart will not be included in the widgetset.
[INFO] [WARN] Widget class org.vaadin.vaadinvisualizations.widgetset.client.ui.VPieChartImage was not found. The component org.vaadin.vaadinvisualizations.PieChartImage will not be included in the widgetset.
[INFO] [WARN] Widget class org.vaadin.vaadinvisualizations.widgetset.client.ui.VLineChartImage was not found. The component org.vaadin.vaadinvisualizations.LineChartImage will not be included in the widgetset.
[
Anyone suggestions?
Last updated on Jan, 28th 2012
Already solved. Somehow i got a wrong dependency with maven. Downloaded again and now it works.
Last updated on
You cannot reply to this thread.