gs-crud-with-vaadin icon indicating copy to clipboard operation
gs-crud-with-vaadin copied to clipboard

The include at the end to build the executable JAR is missing the production profile

Open DominiqueComte opened this issue 8 months ago • 4 comments

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.

DominiqueComte avatar Jun 05 '24 22:06 DominiqueComte