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.
27911.png
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"?>

Thanks.
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:

Regards
Marco