Scala 应用程序上的 Heroku 错误

Heroku error on scala application

知道是什么导致了以下错误吗?

sinan@ThinkPad-X1-Carbon:~/dev/heroku/kumbaraci50$ git push heroku master
Counting objects: 4390, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (2419/2419), done.
Writing objects: 100% (4390/4390), 4.11 MiB | 79.00 KiB/s, done.
Total 4390 (delta 1552), reused 4338 (delta 1520)
remote: Compressing source files... done.
remote: Building source:
remote: 
remote: -----> Scala app detected
remote: 
remote: gzip: stdin: unexpected end of file
remote: tar: Child returned status 1
remote: tar: Error is not recoverable: exiting now
remote: 
remote:  !     Push rejected, failed to compile Scala app
remote: 
remote: Verifying deploy....
remote: 
remote: !   Push rejected to kumbaraci50-tiyatrosever.
remote: 
To https://git.heroku.com/kumbaraci50-tiyatrosever.git
 ! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/kumbaraci50-tiyatrosever.git'

几天前我能够毫无问题地推送这个应用程序,但是我的本地程序包更新可能发生了一些变化。 有没有办法在部署应用程序时增加日志记录的详细程度?

此应用程序在 Java 1.8.0_45.

上使用 Scalatra 框架 2.3 和 scala 版本 2.11.1

检查您的 LANG 配置变量是否未设置为 "tr_TR.UTF-8"。您可以通过 运行:

确认
$ heroku config:unset LANG

某些 LANG 值会导致 Heroku 上的证书错误。相反,您可以通过 运行 this:

使用 -Dfile.encoding
$ heroku config:set JAVA_OPTS="-Dfile.encoding=tr_TR.UTF-8"

希望对您有所帮助。