컨테이너와 서버 포트
다른 서블릿 컨테이너로 변경하기
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
<exclusions>
<exclusion>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-tomcat</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-jetty</artifactId>
</dependency>
....기존 톰캣을 빼고 jetty로 변경한다.
웹 서버 사용하지 않기
모든 웹서버 설정을 무시하고 없앤다.
웹 서버 실행 없이 끝난다.
포트 변경하기
랜덤 포트 사용하기
설정한 포트 사용하기
Last updated
Was this helpful?