728x90
Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2022-10-27 13:53:32.751 ERROR 41864 --- [ restartedMain] o.s.b.d.LoggingFailureAnalysisReporter :
***************************
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.
스프링 부트에서 실행시 포트 번호가 이미 사용되어 있다고 나오는 에러다.
해결
윈도우 cmd 창에서 netstat -ano
입력
8080 포트 번호를 사용하고 있는 PID를 찾는다
taskkill /pid 32880 /f
성공: 프로세스(PID 32880)가 종료되었습니다.
taskkill /pid [포트번호] /f
를 하면 해당 포트번호에서 실행되는 프로세스가 종료되고 다시 실행하면 에러 없이 실행된다
728x90
'Trouble Shootings' 카테고리의 다른 글
[Vue.js] .env .local 값을 못 읽을 때 (403 error) (0) | 2022.11.20 |
---|---|
[intellij/spring] 인텔리제이 spring boot annotation "Cannot read symbol" (0) | 2022.11.20 |
[크롬 Chrome] 확장 프로그램 다운로드 / 실행 실패 (0) | 2022.11.07 |
[스프링 부트] 파일 업로드 시 static 정적 경로 설정 (0) | 2022.10.28 |
[자바] java.util.ConcurrentModificationException 에러 (0) | 2022.10.26 |