سؤال

لقد قمت بنشرها Play 2.2.1 تطبيق HelloWorld <£ الرابط) ولكنه لا يعمل. هنا هو رابط Heelloorld التطبيق . التطبيق يعمل بشكل جيد محليا.

التطبيق قيد التشغيل محليا

procfile

الويب: تشغيل تشغيل - HTTP.Port= $ Port $ play_opts

plugin.sbt

loglevel:= level.warn

محاضر +="مستودع TypeAfe" في " http://repo.typesafe.com/typesafe / النشرات / "

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

system.properties

java.runtime.version= 1.7

build.properties

sbt.version= 0.13.0

سجلات heroku

giveacodicetagpre.

حاولت إعادة تشغيل التطبيق ولكن لا حظ: (

هل كانت مفيدة؟

المحلول

procfile لا تبدو صحيحة.يجب أن تبدو أكثر مثل هذا:

giveacodicetagpre.

الوثائق الرسمية حول هذا الموضوع: http://www.playframework.com/documentation/2.2.x / الإنتاج

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top