gs-crud-with-vaadin
gs-crud-with-vaadin copied to clipboard
The include at the end to build the executable JAR is missing the production profile
At the end of the tutorial, in the "Build an executable JAR" paragraph, the build instructions are missing the "production" profile that actually builds the frontend files to include in the JAR.
Without this, running the jar and trying to access the application produces an error page and this in the console:
java.lang.IllegalStateException:
Failed to find the following files:
- ./generated/jar-resources/lit-renderer.ts
- ./generated/jar-resources/vaadin-time-picker/timepickerConnector.js
[etc...]
includes in AsciiDoc do not seem to support a parameter that could contain the missing "-Pproduction" (for Maven), though.