Hi,
I’ve recently installed the Maps add-on and I’m getting the following exception during runtime:
Failed to load the widgetset: ./VAADIN/widgetsets/com.gp.jbp.web.toolkit.ui.AppWidgetSet/com.gp.jbp.web.toolkit.ui.AppWidgetSet.nocache.js?1616496028054
I’ve already tried several times to clear & redeploy the project but the problem persists. I am using the latest version of the cuba platform. Is there something else that I should do?
Unfortunately, I can’t reproduce the problem. Do you have other add-ons that provide web-toolkit module, e.g. chats? If the problem still persists, could you please attach a demo project? For now, I can suggest doing the following:
Stop the app
Run the following Gradle tasks in the project root directory:
I’ve encountered this issue a couple of times and as other posters have mentioned, it generally happens when adding add-ons or upgrading versions of the CUBA platform etc. In my case we have just upgraded to 7.2.13 but need to keep the 7.1 version around to test for regressions. If I switch between these two environments the issue arises.
This is what I"m experiencing now among other issues. This is a pretty annoying issue as it can take a very long time to debug and resolve. It would be great if a solid foolproof solution could be developed.
It’s unclear what does it mean “switch between two environments”, but it’s recommended to do full clear and redeploy of app since different platform versions have different dependency versions and you need to update jar files in Tomcat.
Hi Gleb thanks for the quick response. By two environments I meant (java 8/Tomcat 8/Cuba 7.1) & (java 11, Cuba 7.2, Tomcat 9).
I haven’t determined the exact issue but executing the sequence of commands you’ve suggested doesn’t always work for some reason. I’m up and running now but I ever figure out the exact circumstances that lead to this behavior I’ll post my findings to the forum.
Failed to load the widgetset: ./VAADIN/widgetsets/com.company.lkwkartell.web.toolkit.ui.AppWidgetSet/com.company.lkwkartell.web.toolkit.ui.AppWidgetSet.nocache.js?1626868580891
Occures during test activities with Maps add-on (first few attempts were ok)