Error while starting the localhost:8080

While hitting the url localhost:8080, error Failed to load the widgetset: ./VAADIN/widgetsets/

image

I am using the below dependency in build.gradle:

implementation ‘io.jmix.core:jmix-core-starter’
implementation ‘io.jmix.data:jmix-eclipselink-starter’
implementation ‘io.jmix.ui:jmix-ui-starter’
implementation ‘io.jmix.ui:jmix-ui-data-starter’
implementation ‘io.jmix.security:jmix-security-starter’
implementation ‘io.jmix.security:jmix-security-ui-starter’
implementation ‘io.jmix.security:jmix-security-data-starter’
implementation ‘io.jmix.localfs:jmix-localfs-starter’

implementation 'org.springframework.boot:spring-boot-starter-web'

You should also have the following dependency:

implementation 'io.jmix.ui:jmix-ui-widgets-compiled'

It’s added automatically when you create a new project from template.