前提・実現したいこと herokuへのデプロイを成功させ、アプリを開くとHelloWorldと表示される
ここに質問の内容を詳しく書いてください。
https://devcenter.heroku.com/articles/getting-started-with-java#introduction
heroku公式に従い、デプロイを試みました。
結果
Getting Started with Java on Heroku
というメッセージが画面に表示されました。https://evening-bayou-75401.herokuapp.com/
発生している問題・エラーメッセージ
エラーメッセージ エラーは表示されていないです。
該当のソースコード
java
1ソースコード 2package test; 3 4public class HelloWorld { 5 6 public static void main(String[] args) { 7 System.out.println("Hello World"); 8 System.out.println(System.getProperty("java.version")); 9 } 10 11} 12
git
1m/example/java-getting-started/1.0/java-getting-started-1.0.pom 2remote: [INFO] ------------------------------------------------------------------------ 3remote: [INFO] BUILD SUCCESS 4remote: [INFO] ------------------------------------------------------------------------ 5remote: [INFO] Total time: 16.461 s 6remote: [INFO] Finished at: 2018-06-05T03:38:20Z 7remote: [INFO] ------------------------------------------------------------------------ 8remote: -----> Discovering process types 9remote: Procfile declares types -> web 10remote: 11remote: -----> Compressing... 12remote: Done: 69M 13remote: -----> Launching... 14remote: Released v4 15remote: https://evening-bayou-75401.herokuapp.com/ deployed to Heroku 16remote: 17remote: Verifying deploy... done. 18To https://git.heroku.com/evening-bayou-75401.git 19 * [new branch] master -> master
試したこと
公式の通りに行いました
補足情報(FW/ツールのバージョンなど)
eclipseを使用しています。
デプロイしたいプロジェクトを右クリック、構成→Mavenプロジェクトへ変換をクリックして、Mavenプロジェクトにしました。
Herokuアカウント作成済みです
JavaのVersionも(1.8.0_162)確認済みです。
よろしくお願いいたします。
回答1件
あなたの回答
tips
プレビュー