To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.
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?
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!