Hi,
I use Vaadin 8.0.5 in my Spring Boot application and try to work with the Charts AddOn. My pom.xml contains
<repository>
<id>vaadin-addons</id>
<url>http://maven.vaadin.com/vaadin-addons</url>
</repository>
...
<dependency>
<groupId>com.vaadin</groupId>
<artifactId>vaadin-charts</artifactId>
<version>4.0.0</version>
</dependency
For compiling the widget set I used the Eclipse plug in and the resulting AppWidgetset.gwt.xml is under target/genereted-resources/gwt. Furthermore, I copied the file to src/main/resources/VAADIN/widgetsets/AppWidgetset and - just because of my desperation - I also copied it to folder where my application.java source file is in.
In my UI class I add the annotation
@Widgetset("AppWidgetset")
and I also tried:
@Widgetset("com.path.to.my.project.AppWidgetset")
Although everything seems correct to me according to the various descriptions ([1, 2, 3]
), my application comes up with the following error after I start it in the web browser:
Failed to load the widgetset: ./VAADIN/widgetsets/AppWidgetset/AppWidgetset.nocache.js?1500134342059
What am I doing wrong? What have I missed? Is there anywhere a step-by-step guide for installing Charts in an easy way?
Thank you very much and best regards,
Marcus
[1]
https://vaadin.com/docs/-/part/framework/addons/addons-maven.html#addons.maven
[2]
https://vaadin.com/docs/-/part/framework/addons/addons-troubleshooting.html
[3]
https://vaadin.com/docs/-/part/charts/java-api/charts-installing.html