[Spring/스프링] Error starting ApplicationContext. To display the condition evaluation report re-run your application with 'debug' enabled.

sbj·2023년 11월 23일
0

ERROR.zip

목록 보기
2/19
post-thumbnail

Problem

This error might occur frequently when using Spring.
스프링을 사용할 때 아마 자주 마주하는 에러가 아닐까 싶다.

Error starting ApplicationContext. To display the condition evaluation report re-run your application with 'debug' enabled.
[2m2023-11-04T10:37:51.317+09:00[0;39m [31mERROR[0;39m [35m27805[0;39m [2m---[0;39m [2m[           main][0;39m [36mo.s.b.d.LoggingFailureAnalysisReporter  [0;39m [2m:[0;39m 

***************************
APPLICATION FAILED TO START
***************************

Description:

Web server failed to start. Port 8080 was already in use.

Action:

Identify and stop the process that's listening on port 8080 or configure this application to listen on another port.

Cuase

The error basically means that your port 8080 is occupied.
8080 포트가 이미 사용되고 있다.


Solution

  1. Check which process is occupying port 8080.
    어떤 프로세스가 8080 포트를 사용중인지 확인한다.
lsof -i :8080
  1. Enter the following command to kill the process.
    해당 명령어 입력하여 프로세스 종료해준다.
kill -9 *<PID>*

Result

Problem solved!
해결 완료!

profile
Strong men believe in cause and effect.

0개의 댓글