코울코웃

코울코웃

  • 분류 전체보기 (140)
    • java (12)
    • spring (26)
    • test (2)
    • javascript (15)
    • thymeLeaf (7)
    • bootstrap (3)
    • mybatis (2)
    • jpa (1)
    • db (6)
    • html (1)
    • css (1)
    • linux (2)
    • aws (9)
    • ide (11)
    • git (6)
    • network (5)
    • docker (3)
    • daliy (4)
    • etc (3)
  • 홈
  • 태그
  • 방명록
  • 코딩팩토리
  • codingfactory
  • DOing
  • 망나니개발자
RSS 피드
로그인
로그아웃 글쓰기 관리

코울코웃

컨텐츠 검색

태그

when() egov Whitelabel error page toLocaleString() Source 정적페이지 자동적용 LoggerFactory For input string iif mockmvc Plugin Uncaught TypeError error docker RDS plantuml is not a function MyBatipse Link 단축키

최근글

댓글

공지사항

아카이브

@Value로 application.yml의 값 가져오기

2022. 1. 9. 18:06ㆍspring


https://velog.io/@jduckling_1024/Value%EB%A1%9C-application.yml%EC%9D%98-%EA%B0%92-%EA%B0%80%EC%A0%B8%EC%98%A4%EA%B8%B0

@Value로 application.yml의 값 가져오기

생성자 주입 시 자동으로 주입되지 않는 기본 자료형과 문자열의 값을 설정한다.@ConfigurationProperties 어노테이션을 달고있는 클래스의 필드에 값을 저장하고 그 값을 사용하는 방법도 여기에 있

velog.io

'spring' 카테고리의 다른 글

httpSecurity.csrf().disable()  (0) 2022.01.15
[Thymeleaf] template might not exist or might not be accessible by any of the co  (0) 2022.01.11
Controller에서 ajax 배열 받기  (0) 2022.01.09
[Spring Security] Ajax Post 통신 시 403 에러  (0) 2022.01.09
springboot mvn build test error  (0) 2022.01.08

관련글

  • httpSecurity.csrf().disable() 2022.01.15
  • [Thymeleaf] template might not exist or might not be accessible by any of the co 2022.01.11
  • Controller에서 ajax 배열 받기 2022.01.09
  • [Spring Security] Ajax Post 통신 시 403 에러 2022.01.09
티스토리
© 2018 TISTORY. All rights reserved.

티스토리툴바