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.
Charts trial license invalid
After registering and downloading a Vaadin Charts trial license, compiling the dash-board demo from https://github.com/vaadin/dashboard-demo results in " License for Vaadin Charts 4 is not valid. Get a valid license from vaadin.com/pro".
Hi. Master of dashboard demo is running Vaadin Framework 8 alpha with Vaadin Charts 4 alpha. Did you mean to use that or did you want Vaadin Framework 7 (stable release)? New trial licenses is still created for the stable version, Charts 3. If you want Framework 7, take the 7.7 branch https://github.com/vaadin/dashboard-demo/tree/7.7.
I will try to make sure that trial licenses in the future work for any major version. In the mean time, if you actually want to test Vaadin Framewrok 8, I can manually edit your trial license to be for Charts 4. Just give me a heads up.
Hi again.
As my first encounter with Vaadin, I simply wanted to see it in action, hence 7.7 is fine.
I build from the 7.7 branch, unfortunately only a spinner appears followed by
Failed to load the widgetset: ./VAADIN/widgetsets/com.vaadin.demo.dashboard.DashboardWidgetSet/com.vaadin.demo.dashboard.DashboardWidgetSet.nocache.js?1479497138408
From the log:
com.vaadin.server.VaadinServlet serveStaticResourcesInVAADIN
INFO: Requested resource [/VAADIN/widgetsets/com.vaadin.demo.dashboard.DashboardWidgetSet/com.vaadin.demo.dashboard.DashboardWidgetSet.nocache.js] not found from filesystem or through class loader. Add widgetset and/or theme JAR to your classpath or add files to WebContent/VAADIN folder.
Update: This was solved compiling the widgetset with Maven as below. I had expected following the build instructions
to be enough.
mvn vaadin:compile
Great that you got it solved. I will see to it that someone updates the project structure so that you do not have to manually type that, or then explicitly say it in readme.
May I ask what command did you run the first time to get that issue? mvn install? mvn jetty:run?
Thanks.
I ran
mvn -P production-mode jetty:run
as per how I understood the instructions in https://github.com/vaadin/dashboard-demo#running-the-app