0
0

SpringBootでよくあるエラー

Posted at

エラー内容

Error starting ApplicationContext. To display the condition evaluation report re-run your application with 'debug' enabled.

このエラーは、ポート番号がすでに使用中となっているときによく出てしまいます。

対処法

ターミナルで

lsof -i:8080

と入力した後、

kill 番号

と入力してください。
番号には一個目を実行した後に出てくるものです。

そしてもう一度Eclipseでプログラムを起動してみてください。

終わりに

これでも直らなかった場合は、application.propertiesやpom.xmlを見直してみてください。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0