I'm using Spring Boot for a Vaadin Flow 14 app and when I package into a JAR using mvn clean package -Pproduction
and run it using java -jar app.jar
it doesn't show any images or fonts, however the CSS works.
Running the app in dev mode works perfectly, and even running it with mvn spring-boot:run -Pproduction
works perfectly. The problem is after packaging into a JAR.
I haven't updated anything or change any major files, I just change some functions in java classes and now after packaging the issues are showing, it wasn't like this a couple of weeks ago.