저는 Spring Boot에서 간단한 "Hello World"를 구현하고 있습니다. 튜토리얼 다음 미안 SpringBoot HelloWorld톰캣 커넥터 변경 포트
내가 오류있어 "자바 Aplication으로 실행"으로 클래스 SpringbootHelloworldApplication.java을 실행
*************************** APPLICATION FAILED TO START
Description:
The Tomcat connector configured to listen on port 8080 failed to start. The port may already be in use or the connector may be misconfigured.
Action:
Verify the connector's configuration, identify and stop any process that's listening on port 8080, or configure this application to listen on another port.
I 서버에서 더블 클릭을했다, 그리고 그것이이있다 구성 :
나는 기본 포트를 변경해야합니다 포트 8080을 사용하지 않는 미안?
server.xml 파일이 있습니다
<Connector port="8085" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />
application.properties 파일에 'server.port ='를 추가하십시오. –
pvpkiran
@pvpkiran 해당 파일을 찾을 경로는 무엇입니까? – andreahg
링크를 다시 읽으십시오. 리소스 아래에 있어야합니다 – pvpkiran