Open Tymur-Lohvynenko-Epicor opened 1 week ago
Duplicate of https://github.com/vaadin/flow/issues/19633
Or maybe not exactly the same since the use of Kotlin might have an impact here.
The configuration of the kotlin-maven-plugin
must be put before the vaadin-maven-plugin
, otherwise the build-frontend
goal will not find the compiled kotlin classes, since they both run in compile
phase.
Description of the bug
When I package an application using
mvn clean package -P production
, a page is not shown or shown with broken styles. In logs I see messages:Expected behavior
The application is packaged correctly and I can open pages.
Minimal reproducible example
See https://github.com/Tymur-Lohvynenko-Epicor/vaadin24-production-mode-bug, it is just starter with the one view that was added using Vaadin Designer.
Versions