문제

재생 2.2.1 Helloworld (github link) 응용 프로그램을 사용하지만 작동하지 않습니다. helloworld "Noreferrer"> App 님의 링크가 있습니다. 응용 프로그램이 로컬로 잘 작동합니다.

procfile

Web : 재생 실행 --http.port= $ play_opts

plugin.sbt

loglevel := Level.Warn

resolvers +=" http://repo.typesafe.com/typesafe / 릴리스 / "

addsbtplugin ( "com.typesafe.play"% "sbt-plugin"% "2.2.1")

system.properties

java.runtime.version= 1.7 / p>

build.properties

sbt.version= 0.13.0

Heroku 로그

Enable Logplex by mailtovikrantpro@gmail.com

Release v2 created by mailtovikrantpro@gmail.com

]: Slug compilation started

Set PATH, JAVA_OPTS, SBT_OPTS, REPO config vars by mailtovikrantpro@gmail.com

Release v5 created by mailtovikrantpro@gmail.com

Scale to web=1 by mailtovikrantpro@gmail.com

Release v4 created by mailtovikrantpro@gmail.com

Release v3 created by mailtovikrantpro@gmail.com

Attach HEROKU_POSTGRESQL_ROSE resource by mailtovikrantpro@gmail.com

Set DATABASE_URL config vars by mailtovikrantpro@gmail.com

]: Slug compilation finished

Deploy 4ce7ade by mailtovikrantpro@gmail.com

Release v6 created by mailtovikrantpro@gmail.com

ash: play: command not found

: Starting process with command `play run --http.port=17894 $PLAY_OPTS`

: State changed from starting to crashed

: State changed from crashed to starting

: Process exited with status 127

ash: play: command not found

]: at=error code=H10 desc="App crashed" method=GET path=/ host=serene-plateau-2664.herokuapp.com request_id=e2a4c9df-03f2-4559-8c16-b3d93676ce3a fwd="61.3.30.27" dyno= connect= service= status=503 bytes=

: State changed from starting to crashed

]: at=error code=H10 desc="App crashed" method=GET path=/favicon.ico host=serene-plateau-2664.herokuapp.com request_id=8325f59d-d472-457a-9cbe-53b6a0586088 fwd="61.3.30.27" dyno= connect= service= status=503 bytes=

: Starting process with command `play run --http.port=13540 $PLAY_OPTS`

: Process exited with status 127

]: at=error code=H10 desc="App crashed" method=GET path=/ host=serene-plateau-2664.herokuapp.com request_id=d5ebf2fc-d835-4547-98fa-1deda63cf4ab fwd="61.3.30.27" dyno= connect= service= status=503 bytes=

]: at=error code=H10 desc="App crashed" method=GET path=/favicon.ico host=serene-plateau-2664.herokuapp.com request_id=629429d2-a9a3-4a2b-8b1e-37902dac4e35 fwd="61.3.30.27" dyno= connect= service= status=503 bytes=

]: at=error code=H10 desc="App crashed" method=GET path=/ host=serene-plateau-2664.herokuapp.com request_id=80d7e8d5-2f52-4b2b-9e98-99745f00d384 fwd="61.3.30.27" dyno= connect= service= status=503 bytes=

]: at=error code=H10 desc="App crashed" method=GET path=/favicon.ico host=serene-plateau-2664.herokuapp.com request_id=2c1cbc02-e23b-41f0-b5f1-adab1353b67b fwd="61.3.30.27" dyno= connect= service= status=503 bytes=
.

나는 앱을 재시작했지만 행운 을폐하지 않았다 : (

도움이 되었습니까?

해결책

procfile가 올바르지 않습니다.다음과 같이 보일 것입니다 :

web: target/universal/stage/bin/helloworld -Dhttp.port=$PORT $PLAY_OPTS
.

이 제목에 대한 공식 문서 : http://www.playframework.com/documentation/2.2.x / 생산

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top