Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- ps
- Access denied for user ''@'localhost'
- map is not a function
- springboot jar
- sts
- join
- Oracle
- springboot
- spring framework
- sudo
- 설치
- jar deploy
- jdk
- react map error
- root
- install
- mysql
- 파일 시스템
- mac mariadb
- systemd
- Dockerfile
- docker container
- Docker
- DB
- 도커
- 도커파일
- brew install mariadb
- jar배포
- 관리
- mysql error
Archives
- Today
- Total
목록jar deploy (1)
Yoon.s
[Spring Boot] jar파일로 배포하기
maven 환경에서 tomcat이 내장된 spring boot 프로젝트를 jar 파일로 바로 배포하는 방법에 대해서 알아보겠습니다. 이때 서버는 stop 되어있어야 합니다!! (서버와 jar배포가 동시에 일어나면 안됩니다!) 1. pom.xml 셋팅 이 war가 아닌 jar로 지정되어 있어야 합니다. !! * jar - 내장된 톰캣을 이용하여 프로젝트를 배포할 때 사용 war - 내장 톰캣을 사용하지 않고, 별도로 톰캣을 설치해서 웹 서버를 기동할 때 사용 2. Maven Build 프로젝트 우클릭 -> Run As -> Maven Build console창에 jar가 building 되는 것을 확인할 수 있습니다!! 완료하면 target에 .jar 파일들이 생성된 것을 파악할 수 있습니다. 이때, 바로..
백/Spring
2020. 9. 16. 09:44