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.
The error basically means that your port 8080 is occupied.
8080 포트가 이미 사용되고 있다.
lsof -i :8080
kill -9 *<PID>*
Problem solved!
해결 완료!