SpringBootServletInitializer 상속
SpringBootServletInitializer 목적 SpringBoot 웹 애플리케이션을 배포할 때는 주로 embedded tomcat이 내장된 jar파일을 이용한다. 하지만 특별한 경우에는 전통적인 배포 방식인 war 파일로 배포를 진행해야 하는 경우가 있을 수 있다. 이럴 경우 SpringBootServletInitializer를 상속받으면 된다. @SpringBootApplication public class SuperApplication extends SpringBootServletInitializer { public static void main(String[] args) { SpringApplication.run(SuperApplication.class, args); } } war파일 배..
SPRING 🍃
2022. 2. 26. 20:22
반응형
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- interview
- OOP
- CS
- Algorithm
- spring-cloud
- 스프링부트
- kakao
- springboot
- 자바
- 프로그래머스
- 릿코드
- Solid
- 백준
- ajax
- Spring
- java
- 수학
- 매트랩
- 알고리즘
- 그래프
- 면접
- 스프링
- nginx
- security
- Matlab
- C언어
- 디자인패턴
- 자격증
- docker
- JPA
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | ||||
| 4 | 5 | 6 | 7 | 8 | 9 | 10 |
| 11 | 12 | 13 | 14 | 15 | 16 | 17 |
| 18 | 19 | 20 | 21 | 22 | 23 | 24 |
| 25 | 26 | 27 | 28 | 29 | 30 | 31 |
글 보관함