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.

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
vaadin pie chart not rendered in browser
Hi,
I am trying to incorporate vaadin chart in my web application which is based on spring-boot and vaadin UI. I have saved the trial license in the path C:\Users\myuser\vaadin.charts.developer.license file. I have inlcuded the vaadin-maven-plugin in my pom.xml with following goals
<goals>
<goal>resources</goal>
<goal>update-theme</goal>
<goal>update-widgetset</goal>
<goal>compile-theme</goal>
<goal>compile</goal>
</goals>
But when I run the spring-boot app, I get a message and the chart is not rendered. I have attached my pom.xml and the error message. Please help. Thanks.
Did you compile the widgetset? If you tried to compile it, did you get errors indicating that something is wrong with setup?
Tatu Lund: Did you compile the widgetset? If you tried to compile it, did you get errors indicating that something is wrong with setup?
I did get warning when doing a mvn install, but no errors. Attached is the maven console log.
My DashboardWidgetSet.gwt.xml looks like below: is there something needs to be added/deleted ?
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module PUBLIC "-//Google Inc.//DTD Google Web Toolkit 1.7.0//EN" "http://google-web-toolkit.googlecode.com/svn/tags/1.7.0/distro-source/core/src/gwt-module.dtd">
<module>
<inherits name="com.vaadin.DefaultWidgetSet" />
<set-configuration-property name="devModeRedirectEnabled"
value="true" />
<inherits name="com.vaadin.addon.charts.Widgetset" />
</module>
Thanks.
If you are using vaadin before 7.7 have you specified the widgetset using @Widgetset annotation on your UI class or
@VaadinServletConfiguration(widgetset="...") on your vaadin servlet?
Hi Marco,
You got it. Not having the @Widgetset annotation on my UI class was the problem. Now the pie chart is rendering. Thanks a lot.