初歩的な質問ですがよろしくお願いいたします。
herokuにeclipseで作成したウェブアプリをデプロイしようとしたのですが、そのURLにとんでも「Heroku | Welcome to your new app!」と出るだけでhelllworldが実行できません。
具体的に行ったこととしては
1,eclipseにてhelloworldを表示するindex.htmlをjavaの動的ウェブアプリプロジェクトに作成
2,そのウェブアプリをgithubに投稿
3,herokuとgithubの連携を用いてその動的ウェブアプリをデプロイしました。
4,デプロイされたURLに飛んでもhelloworldが表示されず、上記のwelcome to your new appのページが表示される
です。
作成したウェブアプリは私のgithubのhello_herokuというリポジトリに入っています。
調べたところjavaアプリということを設定ファイルで明記するのか迷ってるところで力尽きました。
よろしくお願いいたします。
-----------追記-------------
大変失礼しました。
私のgithubは
https://github.com/071132YOSHI
参考にしたサイトは色々あったのですが、よくわからず自己流でした。。。
調べてわかったことはheroku用のプロジェクトを作らなければいけない
というところまでたどり着いて、公式どうりに新しくやってみたのですが、最後の
pom.xmlのビルドの時にエラーを起こして詰まってしまいました。。
この時は以下のサイトを参考にしました
https://devcenter.heroku.com/articles/deploying-java-applications-to-heroku-from-eclipse-or-intellij-idea
--------エラー文は以下の通りです。------
[INFO] Downloaded: https://repo.maven.apache.org/maven2/pl/project13/maven/git-commit-id-plugin/2.2.3/git-commit-id-plugin-2.2.3.jar (90 KB at 162.4 KB/sec)
[INFO] Downloading: https://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml
[INFO] Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml
[INFO] Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml (14 KB at 31.6 KB/sec)
[INFO] Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml (20 KB at 12.6 KB/sec)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 42.440 s
[INFO] Finished at: 2018-02-03T21:54:20+09:00
[INFO] Final Memory: 17M/123M
[INFO] ------------------------------------------------------------------------
[ERROR] No plugin found for prefix 'heroku' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (/Users/yoshidayusuke/.m2/repository), central (https://repo.maven.apache.org/maven2)] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/NoPluginFoundForPrefixException
初心者でとても混乱した状況でやっていました。。。
拙い文章で申し訳ありません。