티스토리 뷰
Error
[Spring] Error starting ApplicationContext. To display the condition evaluation report re-run your application with 'debug' enabled.
나수비니 2023. 11. 5. 21:11728x90
Problem
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 포트 넘버가 이미 사용되고 있다. → 포트 넘버 Kill 해준다.
Solution
1. 어떤 프로세스가 port 8080 점유중인지 확인한다.
lsof -i :8080
2. 점유중인 PID 번호 확인한다.
3. 해당 명령어 입력하여 kill 해준다.
kill -9 <PID>
'Error' 카테고리의 다른 글
[Node.js] Why does a listing directory show up when I go live with my code in VS Code? (1) | 2023.11.06 |
---|---|
[Spring] “Failed to Configure a DataSource” Error (0) | 2023.11.05 |
[Spring] Request method 'GET' is not supported (0) | 2023.11.05 |
[MySQL] A Comprehensive Guide to MySQL Password Errors (1) | 2023.11.04 |