Hello we are currently upgrading a Vaadin 23 project to Vaadin 24.
In dev mode everything works fine, but in production mode, we get this error message in the tomcat 10.x logs:
ERROR com.vaadin.flow.component.internal.UIInternals - The component class com.vaadin.flow.component.combobox.MultiSelectComboBox includes ‘@vaadin/multi-select-combo-box/src/vaadin-multi-select-combo-box.
js’ but this file was not included when creating the production bundle. The component will not work properly. Check that you have a reference to the component and that you are not using it only through reflection. If needed add a @Uses(MultiSelectComboB
ox.class) where it is used.
We run the build taks as a github action, which in turn uses maven to do the job.
Here is the maven build command we use
mvn package -U -B -Pproduction --file pom.xml
Any idea what might cause the problem?