Jmix 1.5.2 Charts addon problems

Hey everyone,

I installed the charts addon using the Jmix Marketplace UI.

There were no errors and everything seems to be configured correctly, and the project starts up but fails at runtime with:

Failed to load the widgetset: ./VAADIN/widgetsets/com/company/awgtbackoffice/widgets/CustomWidgetSet/com/company/awgtbackoffice/widgets/CustomWidgetSet.nocache.js?1688907596531

I also see this in the logs:

2023-07-09 15:59:56.539  INFO 25064 --- [  XNIO-1 task-1] com.vaadin.server.VaadinServlet          : Requested resource [/VAADIN/widgetsets/com/company/awgtbackoffice/widgets/CustomWidgetSet/com/company/awgtbackoffice/widgets/CustomWidgetSet.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.
2023-07-09 15:59:56.758  WARN 25064 --- [  XNIO-1 task-1] c.v.spring.navigator.SpringViewProvider  : No SpringViews found

Here’s a screenshot of my resources folder:

resoureces

Hi,

Check that applications.properties contains: jmix.ui.widget-set=com.company. awgtbackoffice.widgets.CustomWidgetSet

and build.gradle contains:

compileWidgets {
    generate "com.company.demo.awgtbackoffice.CustomWidgetSet"
    includePaths("**/io/jmix/**/widget/**", "**/com/company/awgtbackoffice/widgets/**")
}

Regards,
Gleb

1 Like