포트 문제로 서버 실행이 되지않을때(STS 툴 기준)
Spring/Spring 에러 처리
2017. 4. 2. 13:50
증상
STS 툴로 프로젝트 생성하고 실행하려는데 아래와 같이 포트가 사용중이라고 뜨면서 되지않을때
Port 8080 required by Pivotal tc Server Developer Edition v3.2 is already in use.
The server may already be running in another process, or a system process may be using the port.
To start this server you will need to stop the other process or change the port number(s).
해결
1. 메뉴에서 run - run configurations 선택
2. Java Application 선택후 마우스 더블 클릭이나 마우스 우클릭후 new 선택
3. 새로 생성된 설정에서 arguments 탭 클릭 - VM arguments에 "-Dserver.port=9090" 입력
출처는 역시나 스택오버플로우
http://stackoverflow.com/questions/27174981/spring-tool-suite-port-8080-required-by-pivotal-tc-server-developer-edition-v3
'Spring > Spring 에러 처리' 카테고리의 다른 글
핸들러 get, post 방식 처리 확인 (0) | 2017.05.04 |
---|---|
서버 시작시 에러 증상 (STS 또는 이클립스) (0) | 2017.04.02 |
Spring tool suits - 처음 프로젝트 생성후 에러발생 (0) | 2017.03.30 |
이클립스 콘솔에도 에러가 안떴는데 - 404에러 발생 (0) | 2017.03.30 |
No mapping found for HTTP request with URI (0) | 2017.03.28 |