본문 바로가기

errorLog

@Value 의 값이 null 일 때

 

spring bean 객체로 사용하기 위해서는 해당 class의 선언을 new가 아닌 @Autowired로 해주어야 한다.