728x90
반응형
장비별로....예를 들면, 개발/운영 .....
분리해서 properties 를 관리하는 법..
아래글 2개 모두 참조해보자.
https://royleej9.tistory.com/entry/Spring-properties-%EC%84%A4%EC%A0%95-%EB%B6%84%EB%A6%AC
[Spring] properties 설정 분리(1)
properties 분리 아래 3가지 방법을 혼합해서 사용 가능하지만 1번과 같은 스프링에서 기본적으로 읽는 순서에 따라 속성이 무시될수 있다. war/jar 파일에 포함하지 않고 경로 지정해서 읽기 설정 파
royleej9.tistory.com
https://m.blog.naver.com/cutesboy3/220776824202
스프링 환경별 배포 설정 분리방법(propertiest파일버전)
프로젝트시 소스에 개발/검증/운영 서버에 설정되어진 설정 파일들이 각각 존재 할것이다 예를들어~ classp...
blog.naver.com
728x90
반응형
'IT > Spring Boot' 카테고리의 다른 글
Spring 프로젝트 생성법(Not Spring boot) (0) | 2023.03.31 |
---|---|
Spring configuration check-Unmapped Spring configuration files found. 메시지 (0) | 2023.03.24 |
ApplicationContextAware 인터페이스 (0) | 2022.12.20 |
ApplicationContext란? BeanFactory와의 차이점.Lazy-loading.. (0) | 2022.12.20 |
RestTemplate (Server To Server 간 통신) (0) | 2022.12.15 |
댓글