Heroku-spring + angular应用程序代码的部署= H10 desc =“ App崩溃”

时间:2020-03-29 14:04:03

标签: java angular spring heroku

我正在尝试使用嵌入式角度部署springboot应用程序。 我可以在heroku上看到,maven的构建和部署成功完成,但是当我尝试查看页面时,出现此错误:

Maven build and error message

heroku [web.1]:状态从开始更改为崩溃

heroku [路由器]:at =错误代码= H10 desc =“应用程序崩溃”,方法= GET path =“ /” host = haro-poker.herokuapp.com fwd =“ 89.64.58.71” dyno = connect = service =状态= 503字节=协议= https

这完全没告诉我。我的Procfile指向war,其中已经包含编译的角度文件:

网络:java $ JAVA_OPTS -jar ./backend/target/backend-1.0-SNAPSHOT.war。

我可以使用此命令在本地运行应用程序,但是heroku上存在某种问题。我想整天解决它。也许您知道什么可能导致问题?我可以在调试模式下运行应用程序以查看更多日志吗? 应用程序github:https://github.com/piotrkosinski1992/haro-poker

预先感谢您的任何建议

0 个答案:

没有答案