Typesafe Activator,Play和Heroku

时间:2014-01-31 20:49:47

标签: heroku playframework playframework-2.0 typesafe-activator

我为解决以下问题而采取的措施是:

  • 启动激活器
  • 从hello-play示例创建一个新项目而不更改任何内容
  • git init
  • git add。
  • git commit -m“init”
  • heroku create
  • 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是否与激活器游戏项目兼容?

非常感谢你的帮助!

1 个答案:

答案 0 :(得分:3)

从您的git repo中删除activator-sbt-atmos-play-shim.sbt文件,将其添加到.gitignore,然后重新推送该应用。