application.yml 파일 분리
미해결
스프링 부트 개념과 활용
- application.yml 을 분리하고, spring.profiles.include를 해서 AppicationRunner 클래스를 만들어서 테스트를 해봤는데요, - 테스트할때, Properties 클래스 생성해서( @ConfigurationProperties ) 했습니다.) 하나에 모두 다 있을때는 값이 출력이 되었는데, 분리하고 나니 값이 null로 출력됩니다. 에러는 없어요. 무슨 문제일까요?
- application.yml
- spring-boot
- java
- spring
김정재
댓글 1
좋아요 0
조회수 408





