Hell,
I am posting this question to get help for resolving a problem that occurred when using Vaadin charts in my very first Vaadin application
Error.
Widgetset ‘com.vaadin.DefaultWidgetSet’ does not contain an implementation for com.vaadin.addon.charts.Chart Check the connector’s @Connect mapping, the widget’s GWT module description file and re-compile your widgetset. In case you have downloaded a Vaadin add-on package, you might want to refer to add-on instructions.
My Platform
- IntelliJ Idea
- Vaadin - 8
I followed the below steps.
- I have a Vaading student subscription. I believe student subscription gives access to use of Vadding charts.
- Added Vaadin chart dependencies to pom.xml
<dependency>
<groupId>com.vaadin</groupId>
<artifactId>vaadin-charts</artifactId>
<version>4.0.5</version>
</dependency>
- Added the Bar chart example in the below link
https://github.com/vaadin/charts/blob/master/documentation/charts-overview.asciidoc
That’s all I did. I am not sure, I am missing anything in the above steps.
As suggested in the [link]
(https://vaadin.com/forum/thread/4214612/10582672), I added the below code lines to my UI class.
@WebServlet(value = "/*", asyncSupported = true)
@VaadinServletConfiguration(productionMode = false, ui = MainUI.class,widgetset="com.example.tester.widgetset.TesterWidgetset")
public static class Servlet extends VaadinServlet {
}
This solution doesn’t help me. Maybe I am missing something before this step. Could anyone help me to resolve this issue