2012-08-10 3 views
2

heroku에 내 앱을 배포하려고하지만 동일한 오류 메시지가 표시되며 수정 방법을 모르겠습니다.Java Play 2 - 컴파일 오류 -> Heroku

나는 어떤 성공도없이 몇몇 Google 수색을 만들었다. 나는 또한 sbt의 버전을 바꾸려고 노력했다. 또한 완벽하게 실행됩니다.

play run 

Play 2.0.2를 사용하고 있습니다.

모든 솔루션?

[info] Loading project definition from /tmp/build 
    [warn] module not found: play#sbt-plugin;2.0 
    [warn] ==== typesafe-ivy-releases: tried 
    [warn] http://repo.typesafe.com/typesafe/ivy-re 
    .9.1/sbt_0.11.3/2.0/ivys/ivy.xml 
    [warn] ==== local: tried 
    [warn] /tmp/build_2gxtp2n2ct352/.sbt_home/.ivy2 
    .9.1/sbt_0.11.3/2.0/ivys/ivy.xml 
    [warn] ==== Typesafe repository: tried 
    [warn] http://repo.typesafe.com/typesafe/releas 
    3/2.0/sbt-plugin-2.0.pom 
    [warn] ==== heroku-sbt-typesafe: tried 
    [warn] ==== heroku-central: tried 
    [warn] http://s3pository.heroku.com/maven-centr 
    3/2.0/sbt-plugin-2.0.pom 
    [warn] ==== typesafe: tried 
    [warn] http://repo.typesafe.com/typesafe/repo/p 
    0/sbt-plugin-2.0.pom 
    [warn] ==== heroku-sbt-typesafe: tried 
    [warn] ==== heroku-central: tried 
    [warn] http://s3pository.heroku.com/maven-centr 
    3/2.0/sbt-plugin-2.0.pom 
    [warn] ==== typesafe: tried 
    [warn] http://repo.typesafe.com/typesafe/repo/p 
    0/sbt-plugin-2.0.pom 
    [warn] :::::::::::::::::::::::::::::::::::::::: 
    [warn] ::   UNRESOLVED DEPENDENCIES 
    [warn] :::::::::::::::::::::::::::::::::::::::: 
    [warn] :: play#sbt-plugin;2.0: not found 
    [warn] :::::::::::::::::::::::::::::::::::::::: 
    [warn] 
    [warn] Note: Some unresolved dependencies have 
    these dependencies exist with the requested attrib 
    [warn]   play:sbt-plugin:2.0 (sbtVersion= 

    [warn] 
    [error] {file:/tmp/build_2gxtp2n2ct352/project/}d 
    solveException: unresolved dependency: play#sbt-pl 
    Project loading failed: (r)etry, (q)uit, (l)ast, 
    build app with sbt 
    Heroku push rejected, failed to compile Play 2.0 

    @heroku.com:pure-chamber-6292.git 
    mote rejected] master -> master (pre-receive hook 
    failed to push some refs to '[email protected]:pure- 
+0

heroku에는 사용자 포럼이 있습니까 ?? – Sikorski

답변

2

sbt-plugin의 버전 번호가 잘못되었습니다. project/plugins.sbt 파일에 다음 내용이 포함되어 있는지 확인하십시오.

// Comment to get more information during initialization 
logLevel := Level.Warn 

// The Typesafe repository 
resolvers += "Typesafe repository" at "http://repo.typesafe.com/typesafe/releases/" 

// Use the Play sbt plugin for Play projects 
addSbtPlugin("play" % "sbt-plugin" % "2.0.2") 
+0

나는 소스에서 play-2.0-spring-module을 빌드하려고하고'play # sbt-plugin; x.x : not found '를 얻고 자합니다. 2.0.2, 2.0 (http://www.playframework.org/documentation/2.0/Build에서 언급했듯이), 2.0.1 (https://github.com/oscarrenalias/play-2.0에서 언급했듯이) -spring-module/commit/9134eb5603c2507a9e7de3950999de0621997f0b). http://repo.typesafe.com/typesafe/simple/releases/play/sbt-plugin/에서이 버전을 볼 수 없습니다. 나는 maven에 꽤 익숙하지만, sbt에 전혀 익숙하지 않다. – Upgradingdave

+0

아, 이제 sbt-plugin 버전 2.0.2 (및 다른 버전)가 2.9.1 버전의 scala 아래에 나와 있습니다. 내 sbt는 스칼라 2.9.2를 사용하고 있다는 것을 보여 주므로 그 점과 관련이 있다고 생각합니다. – Upgradingdave

+1

Play 2.0.x 빌드는 모두 Scala 2.9.1을 사용해야합니다. 2.9.2로 바꾸기 위해 뭔가를 했습니까? –