我嘗試在Heroku上創建簡單的java應用程序。 我一步一步從http://samuelsharaf.wordpress.com/2011/11/06/create-a-simple-java-web-app-using-maven-and-upload-to-heroku/做到這一點。錯誤H14(沒有web進程運行)在Heroku上部署
但是,當我嘗試部署我在Heroku項目應用程序,我得到了,當我嘗試像波紋管的錯誤信息,查看日誌
$ heroku logs -t
2012-07-10T02:15:14+00:00 heroku[slugc]: Slug compilation started
2012-07-10T02:15:27+00:00 heroku[api]: Add shared-database:5mb add-on by [email protected]
2012-07-10T02:15:27+00:00 heroku[api]: Release v2 created by [email protected]
2012-07-10T02:15:27+00:00 heroku[api]: Add MAVEN_OPTS, PATH, JAVA_OPTS config by [email protected]
2012-07-10T02:15:27+00:00 heroku[api]: Release v3 created by [email protected]
2012-07-10T02:15:28+00:00 heroku[api]: Release v4 created by [email protected]
2012-07-10T02:15:28+00:00 heroku[api]: Deploy cb1cfa2 by [email protected]
2012-07-10T02:15:28+00:00 heroku[web.1]: State changed from starting to down
2012-07-10T02:15:28+00:00 heroku[slugc]: Slug compilation finished
2012-07-10T02:16:51+00:00 heroku[router]: Error H14 (No web processes running) -> GET fierce-ocean-9944.herokuapp.com/ dyno= queue= wait= service= status=503 bytes=
這是我在Heroku網址:
http://fierce-ocean-9944.herokuapp.com/
那是什麼錯誤?
如何解決這個問題?
謝謝
您是否在項目的根目錄下正確創建了'Procfile'? – 2012-07-10 06:56:15