Unfortunatelly I have a strange error with Vaadin/Spring boot application. While I use IntelliJ, I can run my application without any error on Safari or Chrome. But if I start my app in console with: /path/to/java -jar /path/to/app --spring.profiles.active=prod
the app started normally, I see the console logs, but when I try to open the UI ( localhost:8081/..../myapp
I got this exception:
java.io.IOException: Unable to open root Jar file 'war:file:/Users/.../myapp-1.0-SNAPSHOT.jar*/BOOT-INF/lib/flow-server-2.10.5.jar'
If I unzip the jar file, I can see /BOOT-INF/lib/flow-server-2.10.5.jar in the right place. I use the same JAVA ( 8 or 17 ), the same parameters and the same browsers in both cases. Could anyone help me? Regards.