run Spring Boot Buissines App

Hello,
I have created a project. I used the business app as a basis. I use Vaadin 14.1.21, Intelij and Maven. I am building the project with “mvn clean install”. I copy the jar to another computer. I then run it with “java -jar xyz.jar”. The application works but the images from the webapp folder are not displayed. What can I do here?

Thanks
Patrick

Hi Patrick! When deploying an application as a war, static files should be in src/main/webapp. When deployed as a jar, however, the correct path is src/main/resources/META-INF/resources. If you have them in webapp, give the other location a shot!

Hallo Erik,
Thank you very much, exelenter tip

Patrick