2016-10-06 10 views
1

私はherokuプラットフォームにjava/mavenアプリケーションをデプロイしようとしていますが、結果リンクにアクセスしようとするまですべてがうまく行きます。成功した私は開いてリンクを構築するのにもかかわらず はこのエラーを示していますherokuエラーへのMavenデプロイ

 An error occurred in the application and your page could not be served. Please try again in a few moments. 

     If you are the application owner, check your logs for details. 

> [INFO] ------------------------------------------------------------------------ 
     [INFO] BUILD SUCCESS 
     [INFO] ------------------------------------------------------------------------ 
     [INFO] Total time: 6.571 s 
     [INFO] Finished at: 2016-10-06T20:06:45+00:00 
     [INFO] Final Memory: 24M/164M 
     [INFO] ------------------------------------------------------------------------ 
-----> Discovering process types 
     Procfile declares types -> (none) 
-----> Compressing... 
     Done: 87.3M 
-----> Launching... 
     Released v9 
     https://restaurant-challenge.herokuapp.com/ deployed to Heroku  

ありがとう:D

+0

アプリケーションログとは何ですか?ビルドログではありません。 –

答えて

1

エラーではありません。しかし、あなたのビルド出力は、あなたが(Herokuのアプリを実行する方法を知っていないことを意味する)定義された任意のプロセスタイプを持っていないことを示しています。

Procfile declares types -> (none) 

あなたはProcfileを作成し、あなたにそれを追加する必要がありますGitのレポ。ほとんどのJavaアプリケーションには、次のようなものが含まれているProcfileがあります。

web: java -cp target/classes:target/dependency/* com.example.Main 
0
Application Logs: 


2016-10-06T22:15:32.100143+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/favicon.ico" host=restaurant-challenge.herokuapp.com request_id=1296ef81-571d-47e5-98dc-5d03903cc510 fwd="202.12.102.10" dyno= connect= service= status=503 bytes= 
2016-10-06T22:15:33.413012+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/favicon.ico" host=restaurant-challenge.herokuapp.com request_id=d141a43d-6b8c-49f6-beda-3015cb6ed095 fwd="202.12.102.10" dyno= connect= service= status=503 bytes= 
2016-10-07T00:00:23.973558+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/" host=restaurant-challenge.herokuapp.com request_id=a67f3093-7ca0-4eaa-9a49-0eb1a0d51fd8 fwd="200.144.94.28" dyno= connect= service= status=503 bytes= 
2016-10-07T00:00:24.773937+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/favicon.ico" host=restaurant-challenge.herokuapp.com request_id=e2566da5-e666-46ea-b8bb-e4bb74c7758b fwd="200.144.94.28" dyno= connect= service= status=503 bytes= 
2016-10-07T00:03:28.357036+00:00 heroku[api]: Deploy 28740e1 by [email protected] 
2016-10-07T00:03:28.357036+00:00 heroku[api]: Release v11 created by [email protected] 
2016-10-07T00:03:28.543707+00:00 heroku[slug-compiler]: Slug compilation started 
2016-10-07T00:03:28.543712+00:00 heroku[slug-compiler]: Slug compilation finished 
2016-10-07T00:08:48.878843+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/" host=restaurant-challenge.herokuapp.com request_id=cb9c2a83-0ebf-4d83-89a6-d273b4d70fd6 fwd="200.144.94.28" dyno= connect= service= status=503 bytes= 
2016-10-07T00:08:49.400040+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/favicon.ico" host=restaurant-challenge.herokuapp.com request_id=18093f32-39c7-4085-90e4-a04e84e4f9d7 fwd="200.144.94.28" dyno= connect= service= status=503 bytes= 
2016-10-07T00:11:54.778061+00:00 heroku[api]: Set maintenance mode on by [email protected] 
2016-10-06T22:15:32.100143+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/favicon.ico" host=restaurant-challenge.herokuapp.com request_id=1296ef81-571d-47e5-98dc-5d03903cc510 fwd="202.12.102.10" dyno= connect= service= status=503 bytes= 
2016-10-06T22:15:33.413012+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/favicon.ico" host=restaurant-challenge.herokuapp.com request_id=d141a43d-6b8c-49f6-beda-3015cb6ed095 fwd="202.12.102.10" dyno= connect= service= status=503 bytes= 
2016-10-07T00:00:23.973558+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/" host=restaurant-challenge.herokuapp.com request_id=a67f3093-7ca0-4eaa-9a49-0eb1a0d51fd8 fwd="200.144.94.28" dyno= connect= service= status=503 bytes= 
2016-10-07T00:00:24.773937+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/favicon.ico" host=restaurant-challenge.herokuapp.com request_id=e2566da5-e666-46ea-b8bb-e4bb74c7758b fwd="200.144.94.28" dyno= connect= service= status=503 bytes= 
2016-10-07T00:03:28.357036+00:00 heroku[api]: Deploy 28740e1 by [email protected] 
2016-10-07T00:03:28.357036+00:00 heroku[api]: Release v11 created by [email protected] 
2016-10-07T00:03:28.543707+00:00 heroku[slug-compiler]: Slug compilation started 
2016-10-07T00:03:28.543712+00:00 heroku[slug-compiler]: Slug compilation finished 
2016-10-07T00:08:48.878843+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/" host=restaurant-challenge.herokuapp.com request_id=cb9c2a83-0ebf-4d83-89a6-d273b4d70fd6 fwd="200.144.94.28" dyno= connect= service= status=503 bytes= 
2016-10-07T00:08:49.400040+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/favicon.ico" host=restaurant-challenge.herokuapp.com request_id=18093f32-39c7-4085-90e4-a04e84e4f9d7 fwd="200.144.94.28" dyno= connect= service= status=503 bytes= 
2016-10-07T00:11:54.778061+00:00 heroku[api]: Set maintenance mode on by [email protected] 
関連する問題