Resources not loading after JAR packaging

Hello, after I package my vaadin app using: mvn clean package -Pproduction when launching the jar I can’t see any resources (images, fonts, icons), css loads okay though. I haven’t updated anything, just changed a few lines on java before the last time I packaged my app. Does anyone has any ideas why is this happening? I cannot update my app because of this

Running the app as mvn spring-boot:run -Pproduction works perfectly, when packaging as a JAR it doesn’t

In JAR package resource folder is resources/META-INF/resources

Managed to make it work by updating to the latest vaadin version, I had another couple of issues with I managed those as well