【发布时间】:2016-02-05 18:58:47
【问题描述】:
我正在尝试将 gradle java 应用程序部署到 heroku(基于 jhipster)。我可以使用“heroku local”在本地构建和运行它,但是当我尝试远程部署它时,当它尝试构建应用程序时出现错误(在执行 ./gradlew 阶段时)。错误是:
...
remote: Download https://oss.sonatype.org/content/repositories/releases/org/mapstruct/mapstruct-processor/1.0.0.CR1/mapstruct-processor-1.0.0.CR1.pom
remote: Download https://oss.sonatype.org/content/repositories/releases/org/mapstruct/mapstruct-processor/1.0.0.CR1/mapstruct-processor-1.0.0.CR1.jar
remote: :bower FAILED
remote: FAILURE: Build failed with an exception.
remote:
remote: * What went wrong:
remote: Execution failed for task ':bower'.
remote: > A problem occurred starting process 'command 'bower''
remote:
remote: * Try:
remote: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
remote:
remote: BUILD FAILED
我想如果我能看到堆栈跟踪,它可能会澄清问题,但我不知道如何将命令行参数 (--stacktrace) 传递给 heroku 远程服务器上的 gradle 构建。我会用(heroku run bash)手动尝试,但我不能,因为这是第一次部署,dyno 上还没有代码。
【问题讨论】:
标签: java heroku gradle jhipster