使用Heroku部署的Jhipster应用程序,但在连接到github构建后未触发

问题描述

我遵循以下步骤。

  • 创建了一个Jhipster应用程序。
  • 已执行jhipster heroku
  • 我的应用程序已正确部署在Heroku上
  • 在Heroku中,我启用了Github连接并选择了自动部署。
  • 但是现在当我将更改推送到github时,heroku构建会被触发,但是它并没有真正构建要部署的项目jar,因此我在日志中收到以下错误

2020-08-13T11:33:05.593207+00:00 app[web.1]: Setting JAVA_TOOL_OPTIONS defaults based on dyno size. Custom settings will override them. 2020-08-13T11:33:05.594542+00:00 app[web.1]: Error: Unable to access jarfile build/libs/*.jar

这是日志

-----> Installing JDK 11... done
-----> discovering process types
       procfile declares types -> web
-----> Compressing...
       Done: 59.8M
-----> Launching...
       Released v11
       https://app.herokuapp.com/ deployed to Heroku

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)