admin管理员组文章数量:1396282
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.
本文标签: javaUnable to open root Jar file exception with spring bootStack Overflow
版权声明:本文标题:java - Unable to open root Jar file exception with spring boot - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744644274a2617304.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论