vaadin pie chart not rendered in browser


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


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.
27912.xml (6.58 KB)

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"?>

28003.txt (34.1 KB)

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.

Glad I could help :slight_smile: