Spring-boot로 war 파일을 Tomcat에 배포
2703 단어 spring-bootTomcat
환경
기타 전제
프로젝트에 통합
배포 대상은 AmazonLinux의 EC2, Tomcat 등 설정 완료
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-security</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-thymeleaf</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-tomcat</artifactId>
<scope>provided</scope>
</dependency>
절차
프로젝트를 마우스 오른쪽 버튼으로 클릭하고 내보내기를 선택합니다.

Web > War 파일 선택

이때 출력할 수 없는 경우가 있음

http://ホスト名:8080/manager


war 파일을 내보낼 수 없을 때

Reference
이 문제에 관하여(Spring-boot로 war 파일을 Tomcat에 배포), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다 https://qiita.com/yukihigasi/items/87252a025c0251a71fd4텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념
(Collection and Share based on the CC Protocol.)