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
- 도커
- spring framework
- ps
- mac mariadb
- mysql
- 설치
- Docker
- sts
- install
- react map error
- docker container
- DB
- springboot
- Dockerfile
- brew install mariadb
- map is not a function
- jdk
- sudo
- jar배포
- systemd
- root
- 도커파일
- Access denied for user ''@'localhost'
- springboot jar
- jar deploy
- join
- 파일 시스템
- 관리
- mysql error
- Oracle
Archives
- Today
- Total
목록springboot jar (1)
Yoon.s

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