我为解决以下问题而采取的措施是:
git push heroku master
[warn] Multiple resolvers having different access mechanism configured wi
th same name 'typesafe-ivy-releases'. To avoid conflict, Remove duplicate projec
t resolvers (`resolvers`) or rename publishing resolver (`publishTo`).
/tmp/scala_buildpack_build_dir/activator-sbt-atmos-play-shim.sbt:1: error
: not found: value atmosPlaySettings
atmosPlaySettings
^
[error] Type error in expression
Project loading failed: (r)etry, (q)uit, (l)ast, or (i)gnore? ! Fail
ed to build app with sbt
! Push rejected, failed to compile Play 2.x app
所以我创建了一个全新的项目,它在本地编译得很好,但在推送到Heroku时却没有 我该怎么做才能解决这个问题? Heroku是否与激活器游戏项目兼容?
非常感谢你的帮助!
答案 0 :(得分:3)
从您的git repo中删除activator-sbt-atmos-play-shim.sbt
文件,将其添加到.gitignore
,然后重新推送该应用。